imx6: update gw5400-a dts
[openwrt/openwrt.git] / target / linux / lantiq / dts / GIGASX76X.dts
1 /dts-v1/;
2
3 /include/ "danube.dtsi"
4
5 / {
6 model = "GIGASX76X - Gigaset SX761,SX762,SX763";
7
8 chosen {
9 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
10 };
11
12 memory@0 {
13 reg = <0x0 0x2000000>;
14 };
15
16 sram@1F000000 {
17 vmmc@107000 {
18 status = "okay";
19 gpios = <&gpiomm 1 0>;
20 };
21 };
22
23 fpi@10000000 {
24 localbus@0 {
25 nor-boot@0 {
26 compatible = "lantiq,nor";
27 bank-width = <2>;
28 reg = <0 0x0 0x2000000>;
29 #address-cells = <1>;
30 #size-cells = <1>;
31
32 partition@0 {
33 label = "uboot";
34 reg = <0x0 0x30000>;
35 };
36
37 partition@10000 {
38 label = "uboot_env";
39 reg = <0x30000 0x10000>;
40 };
41
42 partition@40000 {
43 label = "firmware";
44 reg = <0x40000 0x7c0000>;
45 };
46 };
47
48 gpiomm: gpiomm@4000000 {
49 compatible = "lantiq,gpio-mm";
50 reg = <1 0x0 0x10 >;
51 #address-cells = <1>;
52 #size-cells = <1>;
53 #gpio-cells = <2>;
54 gpio-controller;
55 lantiq,shadow = <0x3>;
56 };
57 };
58
59 gpio: pinmux@E100B10 {
60 pinctrl-names = "default";
61 pinctrl-0 = <&state_default>;
62
63 state_default: pinmux {
64 stp {
65 lantiq,groups = "stp";
66 lantiq,function = "stp";
67 };
68 pci {
69 lantiq,groups = "gnt1", "req1";
70 lantiq,function = "pci";
71 };
72 };
73 };
74
75 gpios: stp@E100BB0 {
76 status = "okay";
77 };
78
79 etop@E180000 {
80 phy-mode = "rmii";
81 };
82
83 ifxhcd@E101000 {
84 status = "okay";
85 gpios = <&gpio 29 0>;
86 };
87
88 pci@E105400 {
89 status = "okay";
90 lantiq,internal-clock;
91 gpio-reset = <&gpio 21 0>;
92 req-mask = <0xf>;
93 };
94 };
95
96 gpio-keys-polled {
97 compatible = "gpio-keys-polled";
98 #address-cells = <1>;
99 #size-cells = <0>;
100 poll-interval = <100>;
101
102 reset {
103 label = "reset";
104 gpios = <&gpio 14 0>;
105 linux,code = <0x198>;
106 };
107 };
108
109 gpio_export {
110 compatible = "gpio-export";
111 #size-cells = <0>;
112
113 switch {
114 gpio-export,name = "switch";
115 gpio-export,output = <1>;
116 gpios = <&gpio 19 0>;
117 };
118 };
119 };