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