remove bootargs from dts
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / ALL5002.dts
1 /dts-v1/;
2
3 /include/ "rt3352.dtsi"
4
5 / {
6 compatible = "ALL5002", "ralink,rt3352-soc";
7 model = "Allnet ALL5002/ALL5003";
8
9 memorydetect {
10 ralink,memory = <0x0 0x200000 0x10000000>;
11 };
12
13 palmbus@10000000 {
14 sysc@0 {
15 ralink,pinmux = "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
16 ralink,gpiomux = "i2c";
17 ralink,uartmux = "gpio";
18 ralink,wdtmux = <1>;
19 };
20
21 gpio0: gpio@600 {
22 status = "okay";
23 };
24
25 spi@b00 {
26 status = "okay";
27 m25p80@0 {
28 #address-cells = <1>;
29 #size-cells = <1>;
30 compatible = "mx25l25635e";
31 reg = <0 0>;
32 linux,modalias = "m25p80", "mx25l25635e";
33 spi-max-frequency = <10000000>;
34
35 partition@0 {
36 label = "u-boot";
37 reg = <0x0 0x30000>;
38 read-only;
39 };
40
41 partition@30000 {
42 label = "u-boot-env";
43 reg = <0x30000 0x10000>;
44 read-only;
45 };
46
47 factory: partition@40000 {
48 label = "factory";
49 reg = <0x40000 0x10000>;
50 read-only;
51 };
52
53 partition@50000 {
54 label = "firmware";
55 reg = <0x50000 0x1fb0000>;
56 };
57 };
58 };
59 };
60
61 ethernet@10100000 {
62 status = "okay";
63 };
64
65 esw@10110000 {
66 status = "okay";
67 ralink,portmap = <0x3f>;
68 };
69
70 wmac@10180000 {
71 status = "okay";
72 };
73
74 ehci@101c0000 {
75 status = "okay";
76 };
77
78 ohci@101c1000 {
79 status = "okay";
80 };
81
82 i2c-gpio {
83 compatible = "i2c-gpio";
84
85 gpios = <&gpio0 1 0 &gpio0 2 0>;
86 i2c-gpio,delay-us = <10>;
87
88 pcf0: iexp@38 {
89 #gpio-cells = <2>;
90 compatible = "inxp,pcf8574a";
91 reg = <0x38>;
92 gpio-controller;
93 };
94
95 hwmon@4b {
96 compatible = "national,lm92";
97 reg = <0x4b>;
98 };
99 };
100
101 gpio-leds {
102 compatible = "gpio-leds";
103 ld1 {
104 label = "allnet:green:ld1";
105 gpios = <&pcf0 0 1>;
106 };
107 ld2 {
108 label = "allnet:green:ld2";
109 gpios = <&pcf0 1 1>;
110 };
111 };
112 };