xref: /freebsd/sys/contrib/device-tree/src/arm/marvell/kirkwood-rd88f6192.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Marvell RD88F6192 Board descrition
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Andrew Lunn <andrew@lunn.ch>
6*f126890aSEmmanuel Vadot *
7*f126890aSEmmanuel Vadot * This file contains the definitions that are common between the three
8*f126890aSEmmanuel Vadot * variants of the Marvell Kirkwood Development Board.
9*f126890aSEmmanuel Vadot */
10*f126890aSEmmanuel Vadot/dts-v1/;
11*f126890aSEmmanuel Vadot
12*f126890aSEmmanuel Vadot#include "kirkwood.dtsi"
13*f126890aSEmmanuel Vadot#include "kirkwood-6192.dtsi"
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot/ {
16*f126890aSEmmanuel Vadot	model = "Marvell RD88F6192 reference design";
17*f126890aSEmmanuel Vadot	compatible = "marvell,rd88f6192", "marvell,kirkwood-88f6192", "marvell,kirkwood";
18*f126890aSEmmanuel Vadot
19*f126890aSEmmanuel Vadot	memory {
20*f126890aSEmmanuel Vadot		device_type = "memory";
21*f126890aSEmmanuel Vadot		reg = <0x00000000 0x20000000>;
22*f126890aSEmmanuel Vadot	};
23*f126890aSEmmanuel Vadot
24*f126890aSEmmanuel Vadot	chosen {
25*f126890aSEmmanuel Vadot		bootargs = "console=ttyS0,115200n8";
26*f126890aSEmmanuel Vadot		stdout-path = &uart0;
27*f126890aSEmmanuel Vadot	};
28*f126890aSEmmanuel Vadot
29*f126890aSEmmanuel Vadot	ocp@f1000000 {
30*f126890aSEmmanuel Vadot		pinctrl: pin-controller@10000 {
31*f126890aSEmmanuel Vadot			pinctrl-0 = <&pmx_usb_power>;
32*f126890aSEmmanuel Vadot			pinctrl-names = "default";
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot			pmx_usb_power: pmx-usb-power {
35*f126890aSEmmanuel Vadot				marvell,pins = "mpp10";
36*f126890aSEmmanuel Vadot				marvell,function = "gpo";
37*f126890aSEmmanuel Vadot			};
38*f126890aSEmmanuel Vadot		};
39*f126890aSEmmanuel Vadot
40*f126890aSEmmanuel Vadot		serial@12000 {
41*f126890aSEmmanuel Vadot			status = "okay";
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot		};
44*f126890aSEmmanuel Vadot
45*f126890aSEmmanuel Vadot		spi@10600 {
46*f126890aSEmmanuel Vadot			status = "okay";
47*f126890aSEmmanuel Vadot
48*f126890aSEmmanuel Vadot			m25p128@0 {
49*f126890aSEmmanuel Vadot				#address-cells = <1>;
50*f126890aSEmmanuel Vadot				#size-cells = <1>;
51*f126890aSEmmanuel Vadot				compatible = "st,m25p128", "jedec,spi-nor";
52*f126890aSEmmanuel Vadot				reg = <0>;
53*f126890aSEmmanuel Vadot				spi-max-frequency = <20000000>;
54*f126890aSEmmanuel Vadot				mode = <0>;
55*f126890aSEmmanuel Vadot			};
56*f126890aSEmmanuel Vadot		};
57*f126890aSEmmanuel Vadot
58*f126890aSEmmanuel Vadot		sata@80000 {
59*f126890aSEmmanuel Vadot			status = "okay";
60*f126890aSEmmanuel Vadot			nr-ports = <2>;
61*f126890aSEmmanuel Vadot		};
62*f126890aSEmmanuel Vadot	};
63*f126890aSEmmanuel Vadot
64*f126890aSEmmanuel Vadot	regulators {
65*f126890aSEmmanuel Vadot		compatible = "simple-bus";
66*f126890aSEmmanuel Vadot		#address-cells = <1>;
67*f126890aSEmmanuel Vadot		#size-cells = <0>;
68*f126890aSEmmanuel Vadot		pinctrl-0 = <&pmx_usb_power>;
69*f126890aSEmmanuel Vadot		pinctrl-names = "default";
70*f126890aSEmmanuel Vadot
71*f126890aSEmmanuel Vadot		usb_power: regulator@0 {
72*f126890aSEmmanuel Vadot			compatible = "regulator-fixed";
73*f126890aSEmmanuel Vadot			reg = <0>;
74*f126890aSEmmanuel Vadot			regulator-name = "USB VBUS";
75*f126890aSEmmanuel Vadot			regulator-min-microvolt = <5000000>;
76*f126890aSEmmanuel Vadot			regulator-max-microvolt = <5000000>;
77*f126890aSEmmanuel Vadot			enable-active-high;
78*f126890aSEmmanuel Vadot			regulator-always-on;
79*f126890aSEmmanuel Vadot			regulator-boot-on;
80*f126890aSEmmanuel Vadot			gpio = <&gpio0 10 GPIO_ACTIVE_HIGH>;
81*f126890aSEmmanuel Vadot		};
82*f126890aSEmmanuel Vadot	};
83*f126890aSEmmanuel Vadot};
84*f126890aSEmmanuel Vadot
85*f126890aSEmmanuel Vadot&mdio {
86*f126890aSEmmanuel Vadot	status = "okay";
87*f126890aSEmmanuel Vadot
88*f126890aSEmmanuel Vadot	ethphy0: ethernet-phy@8 {
89*f126890aSEmmanuel Vadot		reg = <8>;
90*f126890aSEmmanuel Vadot	};
91*f126890aSEmmanuel Vadot};
92*f126890aSEmmanuel Vadot
93*f126890aSEmmanuel Vadot&eth0 {
94*f126890aSEmmanuel Vadot	status = "okay";
95*f126890aSEmmanuel Vadot	ethernet0-port@0 {
96*f126890aSEmmanuel Vadot		phy-handle = <&ethphy0>;
97*f126890aSEmmanuel Vadot	};
98*f126890aSEmmanuel Vadot};
99*f126890aSEmmanuel Vadot
100*f126890aSEmmanuel Vadot&pciec {
101*f126890aSEmmanuel Vadot	status = "okay";
102*f126890aSEmmanuel Vadot};
103*f126890aSEmmanuel Vadot
104*f126890aSEmmanuel Vadot&pcie0 {
105*f126890aSEmmanuel Vadot	status = "okay";
106*f126890aSEmmanuel Vadot};
107