ramips:support Lenovo AC1200 Wireless router
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / Y1.dtsi
1 /include/ "mt7620a.dtsi"
2
3 / {
4 chosen {
5 bootargs = "console=ttyS0,115200";
6 };
7
8 palmbus@10000000 {
9 sysc@0 {
10 ralink,gpiomux = "i2c", "jtag";
11 ralink,uartmux = "gpio";
12 ralink,wdtmux = <1>;
13 };
14
15 gpio0: gpio@600 {
16 status = "okay";
17 };
18
19 gpio2: gpio@660 {
20 status = "okay";
21 };
22
23 gpio3: gpio@688 {
24 status = "okay";
25 };
26
27
28 spi@b00 {
29 status = "okay";
30
31 m25p80@0 {
32 #address-cells = <1>;
33 #size-cells = <1>;
34 compatible = "w25q128";
35 reg = <0 0>;
36 linux,modalias = "m25p80", "w25q128";
37 spi-max-frequency = <10000000>;
38
39 partition@0 {
40 label = "u-boot";
41 reg = <0x0 0x30000>;
42 read-only;
43 };
44
45 partition@30000 {
46 label = "u-boot-env";
47 reg = <0x30000 0x10000>;
48 read-only;
49 };
50
51 factory: partition@40000 {
52 label = "factory";
53 reg = <0x40000 0x10000>;
54 read-only;
55 };
56
57 partition@50000 {
58 label = "firmware";
59 reg = <0x50000 0xfb0000>;
60 };
61 };
62 };
63 };
64
65 ehci@101c0000 {
66 status = "okay";
67 };
68
69 ohci@101c1000 {
70 status = "okay";
71 };
72
73 pcie@10140000 {
74 status = "okay";
75 };
76
77 wmac@10180000 {
78 ralink,mtd-eeprom = <&factory 0>;
79 };
80
81 pinctrl {
82 state_default: pinctrl0 {
83 gpio {
84 ralink,group = "uartf", "wled", "nd_sd";
85 ralink,function = "gpio";
86 };
87 pa {
88 ralink,group = "pa";
89 ralink,function = "pa";
90 };
91 };
92 };
93
94 gpio-keys-polled {
95 compatible = "gpio-keys-polled";
96 #address-cells = <1>;
97 #size-cells = <0>;
98 poll-interval = <20>;
99 reset {
100 label = "reset";
101 gpios = <&gpio0 11 1>;
102 linux,code = <0x198>;
103 };
104 };
105 };