ramips: fix indentation and other mistakes in .dts{, i} files
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / F5D8235_V1.dts
1 /dts-v1/;
2
3 /include/ "rt2880.dtsi"
4
5 / {
6 #address-cells = <1>;
7 #size-cells = <1>;
8 compatible = "F5D8235_V1", "ralink,rt2880-soc";
9 model = "Belkin F5D8235 v1";
10
11 palmbus@300000 {
12 gpio0: gpio@600 {
13 status = "okay";
14 };
15 };
16
17 pinctrl {
18 state_default: pinctrl0 {
19 gpio {
20 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
21 ralink,function = "gpio";
22 };
23 };
24 };
25
26 cfi@1f000000 {
27 compatible = "cfi-flash";
28 reg = <0x1f000000 0x800000>;
29 bank-width = <2>;
30 device-width = <2>;
31 #address-cells = <1>;
32 #size-cells = <1>;
33
34 partition@0 {
35 label = "uboot";
36 reg = <0x0 0x30000>;
37 read-only;
38 };
39
40 partition@30000 {
41 label = "uboot-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 = "linux";
54 reg = <0x50000 0x3b0000>;
55 };
56 };
57
58 ethernet@400000 {
59 status = "okay";
60 mtd-mac-address = <&factory 0x4>;
61
62 port@0 {
63 ralink,fixed-link = <1000 1 1 1>;
64 };
65 };
66
67 /* FIXME: no u-boot partition and 0x40000@uboot is out of boundaries */
68 /* wmac@480000 {
69 status = "okay";
70 ralink,mtd-eeprom = <&u-boot 0x40000>;
71 };
72 */
73 rtl8366s {
74 compatible = "realtek,rtl8366s";
75 gpio-sda = <&gpio0 1 0>;
76 gpio-sck = <&gpio0 2 0>;
77 };
78
79 gpio-keys-polled {
80 compatible = "gpio-keys-polled";
81 #address-cells = <1>;
82 #size-cells = <0>;
83 poll-interval = <100>;
84
85 wps {
86 label = "wps";
87 gpios = <&gpio0 0 1>;
88 linux,code = <0x211>;
89 };
90
91 reset {
92 label = "reset";
93 gpios = <&gpio0 9 1>;
94 linux,code = <0x198>;
95 };
96 };
97
98 gpio-leds {
99 compatible = "gpio-leds";
100
101 storage {
102 label = "f5d8235-v1:blue:storage";
103 gpios = <&gpio0 7 1>;
104 };
105
106 storage2 {
107 label = "f5d8235-v1:orange:storage";
108 gpios = <&gpio0 8 1>;
109 };
110 };
111 };