ramips: HLK-RM04 - Enable GPIO14 for WPS button
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / WRTNODE2.dtsi
1 /include/ "mt7628an.dtsi"
2
3 / {
4 chosen {
5 bootargs = "console=ttyS0,115200";
6 };
7
8 palmbus@10000000 {
9 spi@b00 {
10 status = "okay";
11
12 m25p80@0 {
13 #address-cells = <1>;
14 #size-cells = <1>;
15 compatible = "jedec,spi-nor";
16 reg = <0 0>;
17 spi-max-frequency = <10000000>;
18 m25p,chunked-io = <32>;
19
20 partition@0 {
21 label = "u-boot";
22 reg = <0x0 0x30000>;
23 read-only;
24 };
25
26 partition@30000 {
27 label = "u-boot-env";
28 reg = <0x30000 0x10000>;
29 read-only;
30 };
31
32 factory: partition@40000 {
33 label = "factory";
34 reg = <0x40000 0x10000>;
35 read-only;
36 };
37
38 partition@50000 {
39 label = "firmware";
40 reg = <0x50000 0x1fb0000>;
41 };
42 };
43
44
45 spidev@1 {
46 #address-cells = <1>;
47 #size-cells = <1>;
48 compatible = "spidev";
49 reg = <1 0>;
50 linux,modalias = "spidev", "spidev";
51 spi-max-frequency = <10000000>;
52 };
53 };
54
55 uart1@d00 {
56 status = "okay";
57 };
58
59 i2c@900 {
60 status = "okay";
61 };
62
63 };
64
65 ethernet@10100000 {
66 mtd-mac-address = <&factory 0x4>;
67 ralink,port-map = "llllw";
68 };
69
70 sdhci@10130000 {
71 status = "okay";
72 };
73
74 pcie@10140000 {
75 status = "okay";
76 };
77
78
79 gpio-keys-polled {
80 compatible = "gpio-keys-polled";
81 #address-cells = <1>;
82 #size-cells = <0>;
83 poll-interval = <20>;
84
85 reset {
86 label = "reset";
87 gpios = <&gpio0 5 1>;
88 linux,code = <0x198>;
89 };
90 };
91
92 };
93