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