lantiq: cleanup dts files
[librecmc/librecmc.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 GPIO_ACTIVE_HIGH>;
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                                 partitions {
33                                         compatible = "fixed-partitions";
34                                         #address-cells = <1>;
35                                         #size-cells = <1>;
36
37                                         partition@0 {
38                                                 label = "uboot";
39                                                 reg = <0x0 0x30000>;
40                                         };
41
42                                         partition@10000 {
43                                                 label = "uboot_env";
44                                                 reg = <0x30000 0x10000>;
45                                         };
46
47                                         partition@40000 {
48                                                 label = "firmware";
49                                                 reg = <0x40000 0x7c0000>;
50                                         };
51                                 };
52                         };
53
54                         gpiomm: gpiomm@4000000 {
55                                 compatible = "lantiq,gpio-mm";
56                                 reg = <1 0x0 0x10 >;
57                                 #address-cells = <1>;
58                                 #size-cells = <1>;
59                                 #gpio-cells = <2>;
60                                 gpio-controller;
61                                 lantiq,shadow = <0x3>;
62                         };
63                 };
64
65                 gpio: pinmux@E100B10 {
66                         pinctrl-names = "default";
67                         pinctrl-0 = <&state_default>;
68
69                         state_default: pinmux {
70                                 stp {
71                                         lantiq,groups = "stp";
72                                         lantiq,function = "stp";
73                                 };
74                         };
75                 };
76
77                 gpios: stp@E100BB0 {
78                         status = "okay";
79                 };
80
81                 etop@E180000 {
82                         phy-mode = "rmii";
83                 };
84
85                 ifxhcd@E101000 {
86                         status = "okay";
87                         gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
88                 };
89
90                 pci@E105400 {
91                         status = "okay";
92                         gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
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 GPIO_ACTIVE_HIGH>;
105                         linux,code = <KEY_RESTART>;
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 GPIO_ACTIVE_HIGH>;
117                 };
118         };
119 };