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