bcm53xx: fix Linksys EA9500 partitioning
[openwrt/staging/rmilecki.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / danube_siemens_gigaset-sx76x.dts
1 #include "danube.dtsi"
2
3 #include <dt-bindings/input/input.h>
4
5 / {
6 compatible = "siemens,gigaset-sx76x", "lantiq,xway", "lantiq,danube";
7 model = "Gigaset SX761,SX762,SX763";
8
9 chosen {
10 bootargs = "console=ttyLTQ0,115200";
11 };
12
13 memory@0 {
14 device_type = "memory";
15 reg = <0x0 0x2000000>;
16 };
17
18 keys {
19 compatible = "gpio-keys-polled";
20 poll-interval = <100>;
21
22 reset {
23 label = "reset";
24 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
25 linux,code = <KEY_RESTART>;
26 };
27 };
28
29 gpio_export {
30 compatible = "gpio-export";
31 #size-cells = <0>;
32
33 switch {
34 gpio-export,name = "switch";
35 gpio-export,output = <1>;
36 gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
37 };
38 };
39
40 usb_vbus: regulator-usb-vbus {
41 compatible = "regulator-fixed";
42
43 regulator-name = "USB_VBUS";
44
45 regulator-min-microvolt = <5000000>;
46 regulator-max-microvolt = <5000000>;
47
48 gpio = <&gpio 29 GPIO_ACTIVE_HIGH>;
49 enable-active-high;
50 };
51 };
52
53 &gpios {
54 status = "okay";
55 };
56
57 &gsw {
58 phy-mode = "rmii";
59 };
60
61 &localbus {
62 flash@0 {
63 compatible = "lantiq,nor";
64 bank-width = <2>;
65 reg = <0 0x0 0x2000000>;
66
67 partitions {
68 compatible = "fixed-partitions";
69 #address-cells = <1>;
70 #size-cells = <1>;
71
72 partition@0 {
73 label = "uboot";
74 reg = <0x0 0x30000>;
75 };
76
77 partition@10000 {
78 label = "u-boot-env";
79 reg = <0x30000 0x10000>;
80 };
81
82 partition@40000 {
83 label = "firmware";
84 reg = <0x40000 0x7c0000>;
85 };
86 };
87 };
88
89 gpiomm: gpio@1 {
90 compatible = "lantiq,gpio-mm";
91 reg = <1 0x0 0x10 >;
92 #address-cells = <1>;
93 #size-cells = <1>;
94 #gpio-cells = <2>;
95 gpio-controller;
96 lantiq,shadow = <0x3>;
97 };
98 };
99
100 &pci0 {
101 status = "okay";
102 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
103 };
104
105 &usb_phy {
106 status = "okay";
107 };
108
109 &usb {
110 status = "okay";
111 vbus-supply = <&usb_vbus>;
112 };
113
114 &vmmc {
115 status = "okay";
116 gpios = <&gpiomm 1 GPIO_ACTIVE_HIGH>;
117 };