kirkwood: copy files and config from 4.19 to 5.4
[openwrt/openwrt.git] / target / linux / kirkwood / files-5.4 / arch / arm / boot / dts / kirkwood-goflexhome.dts
1 /dts-v1/;
2
3 #include "kirkwood.dtsi"
4 #include "kirkwood-6281.dtsi"
5
6 / {
7 model = "Seagate GoFlex Home";
8 compatible = "seagate,goflexhome", "marvell,kirkwood-88f6281", "marvell,kirkwood";
9
10 aliases {
11 led-boot = &led_health;
12 led-failsafe = &led_fault;
13 led-running = &led_health;
14 led-upgrade = &led_fault;
15 };
16
17 memory@0 {
18 device_type = "memory";
19 reg = <0x00000000 0x8000000>;
20 };
21
22 chosen {
23 bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10";
24 stdout-path = &uart0;
25 };
26
27 ocp@f1000000 {
28 pinctrl: pin-controller@10000 {
29 pmx_usb_power_enable: pmx-usb-power-enable {
30 marvell,pins = "mpp29";
31 marvell,function = "gpio";
32 };
33
34 pmx_led_white: pmx-led-white {
35 marvell,pins = "mpp40";
36 marvell,function = "gpio";
37 };
38
39 pmx_led_green: pmx-led_green {
40 marvell,pins = "mpp46";
41 marvell,function = "gpio";
42 };
43
44 pmx_led_orange: pmx-led-orange {
45 marvell,pins = "mpp47";
46 marvell,function = "gpio";
47 };
48 };
49
50 serial@12000 {
51 status = "okay";
52 };
53
54 sata@80000 {
55 status = "okay";
56 nr-ports = <2>;
57 };
58 };
59
60 gpio-leds {
61 compatible = "gpio-leds";
62
63 led_health: health {
64 label = "status:green:health";
65 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
66 default-state = "on";
67 };
68
69 led_fault: fault {
70 label = "status:orange:fault";
71 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
72 };
73
74 misc {
75 label = "status:white:misc";
76 gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
77 linux,default-trigger = "disk-activity";
78 };
79 };
80
81 regulators {
82 compatible = "simple-bus";
83
84 #address-cells = <1>;
85 #size-cells = <0>;
86
87 pinctrl-0 = <&pmx_usb_power_enable>;
88 pinctrl-names = "default";
89
90 usb_power: regulator@1 {
91 compatible = "regulator-fixed";
92 reg = <1>;
93 regulator-name = "USB Power";
94 regulator-min-microvolt = <5000000>;
95 regulator-max-microvolt = <5000000>;
96 enable-active-high;
97 regulator-always-on;
98 regulator-boot-on;
99 gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>;
100 };
101 };
102 };
103
104 &nand {
105 status = "okay";
106
107 chip-delay = <40>;
108
109 partition@0 {
110 label = "u-boot";
111 reg = <0x0000000 0x0100000>;
112 read-only;
113 };
114
115 partition@100000 {
116 label = "ubi";
117 reg = <0x0100000 0xff00000>;
118 };
119 };
120
121 &mdio {
122 status = "okay";
123
124 ethphy0: ethernet-phy@0 {
125 reg = <0>;
126 };
127 };
128
129 &eth0 {
130 status = "okay";
131
132 ethernet0-port@0 {
133 phy-handle = <&ethphy0>;
134 };
135 };