ramips: Change all '/include/' clauses to '#include' so preprocessing can be done...
[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 gpio0: gpio@600 {
10 status = "okay";
11 };
12
13 gpio2: gpio@660 {
14 status = "okay";
15 };
16
17 gpio3: gpio@688 {
18 status = "okay";
19 };
20
21 spi@b00 {
22 status = "okay";
23
24 m25p80@0 {
25 #address-cells = <1>;
26 #size-cells = <1>;
27 compatible = "jedec,spi-nor";
28 reg = <0 0>;
29 linux,modalias = "m25p80", "w25q128";
30 spi-max-frequency = <10000000>;
31
32 partition@0 {
33 label = "u-boot";
34 reg = <0x0 0x30000>;
35 read-only;
36 };
37
38 partition@30000 {
39 label = "u-boot-env";
40 reg = <0x30000 0x10000>;
41 read-only;
42 };
43
44 factory: partition@40000 {
45 label = "factory";
46 reg = <0x40000 0x10000>;
47 read-only;
48 };
49
50 partition@50000 {
51 label = "firmware";
52 reg = <0x50000 0xfb0000>;
53 };
54 };
55 };
56 };
57
58 ehci@101c0000 {
59 status = "okay";
60 };
61
62 ohci@101c1000 {
63 status = "okay";
64 };
65
66 pcie@10140000 {
67 status = "okay";
68
69 pcie-bridge {
70 mt76@0,0 {
71 reg = <0x0000 0 0 0 0>;
72 device_type = "pci";
73 mediatek,mtd-eeprom = <&factory 0x8000>;
74 mediatek,2ghz = <0>;
75 };
76 };
77 };
78
79 wmac@10180000 {
80 ralink,mtd-eeprom = <&factory 0>;
81 };
82
83 pinctrl {
84 state_default: pinctrl0 {
85 gpio {
86 ralink,group = "uartf", "wled", "nd_sd";
87 ralink,function = "gpio";
88 };
89
90 pa {
91 ralink,group = "pa";
92 ralink,function = "pa";
93 };
94 };
95 };
96
97 gpio-keys-polled {
98 compatible = "gpio-keys-polled";
99 #address-cells = <1>;
100 #size-cells = <0>;
101 poll-interval = <20>;
102
103 reset {
104 label = "reset";
105 gpios = <&gpio0 11 1>;
106 linux,code = <0x198>;
107 };
108 };
109 };