ramips: revert gpio regulator dts update
[openwrt/openwrt.git] / target / linux / ramips / dts / FREESTATION5.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "FREESTATION5", "ralink,rt3050-soc";
7 model = "ARC FreeStation5";
8
9 chosen {
10 bootargs = "console=ttyS0,115200";
11 };
12
13 palmbus@10000000 {
14 sysc@0 {
15 ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
16 ralink,uartmux = "gpio";
17 ralink,wdtmux = <1>;
18 };
19
20 gpio0: gpio@600 {
21 status = "okay";
22 };
23 };
24
25 cfi@1f000000 {
26 compatible = "cfi-flash";
27 reg = <0x1f000000 0x800000>;
28
29 bank-width = <2>;
30 device-width = <2>;
31 #address-cells = <1>;
32 #size-cells = <1>;
33
34 partition@0 {
35 label = "u-boot";
36 reg = <0x0 0x30000>;
37 read-only;
38 };
39
40 partition@30000 {
41 label = "u-boot-env";
42 reg = <0x30000 0x10000>;
43 read-only;
44 };
45
46 factory: partition@40000 {
47 label = "factory";
48 reg = <0x40000 0x10000>;
49 read-only;
50 };
51
52 partition@50000 {
53 label = "firmware";
54 reg = <0x50000 0x7b0000>;
55 };
56 };
57
58 ethernet@10100000 {
59 status = "okay";
60 };
61
62 esw@10110000 {
63 status = "okay";
64 ralink,portmap = <0x01>;
65 };
66
67 wmac@10180000 {
68 status = "okay";
69 };
70
71 otg@101c0000 {
72 status = "okay";
73 };
74
75 gpio-export {
76 compatible = "gpio-export";
77 // Used to enable power-over-ethernet passthrough from port0 to port1.
78 // Disable passthrough by default to prevent accidental equipment damage.
79 poe {
80 gpio-export,name = "poe-passthrough";
81 gpio-export,output = <1>; // OUT_INIT_HIGH
82 gpios = <&gpio0 11 1>; // GPIO 11, ACTIVE_LOW
83 };
84 };
85
86 gpio-leds {
87 compatible = "gpio-leds";
88 // The following leds are defined in the ArcOS firmware, but reportedly
89 // not present in the Freestation5 device.
90 wifi {
91 label = "freestation:unknown:wifi";
92 gpios = <&gpio0 7 1>;
93 };
94 powerg {
95 label = "freestation:unknown:powerg";
96 gpios = <&gpio0 9 1>;
97 };
98 usb {
99 label = "freestation:unknown:usb";
100 gpios = <&gpio0 14 1>;
101 };
102 };
103 };