lantiq: new image build process - fix kernel entry address
[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                         };
69                 };
70
71                 gpios: stp@E100BB0 {
72                         status = "okay";
73                 };
74
75                 etop@E180000 {
76                         phy-mode = "rmii";
77                 };
78
79                 ifxhcd@E101000 {
80                         status = "okay";
81                         gpios = <&gpio 29 0>;
82                 };
83
84                 pci@E105400 {
85                         status = "okay";
86                         lantiq,internal-clock;
87                         gpio-reset = <&gpio 21 0>;
88                         req-mask = <0x1>;
89                 };
90         };
91
92         gpio-keys-polled {
93                 compatible = "gpio-keys-polled";
94                 #address-cells = <1>;
95                 #size-cells = <0>;
96                 poll-interval = <100>;
97
98                 reset {
99                         label = "reset";
100                         gpios = <&gpio 14 0>;
101                         linux,code = <0x198>;
102                 };
103         };
104
105         gpio_export {
106                 compatible = "gpio-export";
107                 #size-cells = <0>;
108
109                 switch {
110                         gpio-export,name = "switch";
111                         gpio-export,output = <1>;
112                         gpios = <&gpio 19 0>;
113                 };
114         };
115 };