lantiq - vgv7519: we don't have pcie bus so we don't need the reset device tree for...
[openwrt/openwrt.git] / target / linux / lantiq / dts / H201L.dts
1 /dts-v1/;
2
3 /include/ "ar9.dtsi"
4
5 / {
6 model = "H201L - ZTE H210L";
7
8 chosen {
9 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
10 };
11
12 memory@0 {
13 reg = <0x0 0x2000000>;
14 };
15
16 fpi@10000000 {
17 localbus@0 {
18 nor-boot@0 {
19 compatible = "lantiq,nor";
20 bank-width = <2>;
21 reg = <0 0x0 0x2000000>;
22 #address-cells = <1>;
23 #size-cells = <1>;
24
25 partition@0 {
26 label = "uboot";
27 reg = <0x00000 0x20000>;
28 read-only;
29 };
30
31 partition@20000 {
32 label = "uboot_env";
33 reg = <0x20000 0x10000>;
34 read-only;
35 };
36
37 partition@30000 {
38 label = "firmware";
39 reg = <0x30000 0x7d0000>;
40 };
41 };
42 };
43
44 gpio: pinmux@E100B10 {
45 pinctrl-names = "default";
46 pinctrl-0 = <&state_default>;
47
48 state_default: pinmux {
49 };
50 };
51
52 etop@E180000 {
53 phy-mode = "rgmii";
54 };
55
56 ifxhcd@E101000 {
57 status = "okay";
58 gpios = <&gpio 36 0>;
59 };
60 };
61
62 gpio-keys-polled {
63 compatible = "gpio-keys-polled";
64 #address-cells = <1>;
65 #size-cells = <0>;
66 poll-interval = <100>;
67
68 reset {
69 label = "reset";
70 gpios = <&gpio 53 1>;
71 linux,code = <0x198>;
72 };
73 wps {
74 label = "wps";
75 gpios = <&gpio 54 1>;
76 linux,code = <0x211>;
77 };
78 rfkill {
79 label = "rfkill";
80 gpios = <&gpio 55 1>;
81 linux,code = <0xf7>;
82 };
83 };
84
85 gpio-leds {
86 compatible = "gpio-leds";
87
88 power {
89 label = "power";
90 gpios = <&gpio 19 1>;
91 default-state = "on";
92 };
93 online {
94 label = "online";
95 gpios = <&gpio 37 1>;
96 };
97 dsl {
98 label = "dsl";
99 gpios = <&gpio 4 1>;
100 };
101 phone {
102 label = "phone";
103 gpios = <&gpio 39 1>;
104 };
105 wps {
106 label = "wps";
107 gpios = <&gpio 22 1>;
108 };
109 wifi {
110 label = "wifi";
111 gpios = <&gpio 6 1>;
112 };
113 usb {
114 label = "usb";
115 gpios = <&gpio 14 1>;
116 };
117 };
118
119 gpio_export {
120 compatible = "gpio-export";
121 #size-cells = <0>;
122
123 switch {
124 gpio-export,name = "switch";
125 gpio-export,output = <1>;
126 gpios = <&gpio 38 0>;
127 };
128 usb {
129 gpio-export,name = "usb";
130 gpio-export,output = <1>;
131 gpios = <&gpio 28 0>;
132 };
133 wifi {
134 gpio-export,name = "wifi";
135 gpio-export,output = <1>;
136 gpios = <&gpio 7 0>;
137 };
138 };
139 };