d0cc0e5fc5da670fb9db446ee6779d8203e1bc22
[openwrt/openwrt.git] / target / linux / ramips / dts / CY-SWR1100.dts
1 /dts-v1/;
2
3 /include/ "rt3883.dtsi"
4
5 / {
6 compatible = "CY-SWR1100", "ralink,rt3883-soc";
7 model = "Samsung CY-SWR1100";
8
9 palmbus@10000000 {
10 gpio1: gpio@638 {
11 status = "okay";
12 };
13 };
14
15 pinctrl {
16 state_default: pinctrl0 {
17 gpio {
18 ralink,group = "i2c", "spi";
19 ralink,function = "gpio";
20 };
21 };
22 };
23
24 ethernet@10100000 {
25 mtd-mac-address = <&factory 0x66>;
26 port@0 {
27 ralink,fixed-link = <1000 1 1 1>;
28 };
29 };
30
31 pci@10140000 {
32 status = "okay";
33
34 pinctrl-names = "default";
35 pinctrl-0 = <&pci_pins>;
36 pci_pins: pci {
37 pci {
38 ralink,group = "pci";
39 ralink,function = "pci-fnc";
40 };
41 };
42
43 host-bridge {
44 pci-bridge@1 {
45 status = "okay";
46 };
47 };
48 };
49
50 wmac@10180000 {
51 status = "okay";
52 };
53
54 ehci@101c0000 {
55 status = "okay";
56 };
57
58 ohci@101c1000 {
59 status = "okay";
60 };
61
62 nor-flash@1c000000 {
63 compatible = "cfi-flash";
64 reg = <0x1c000000 0x800000>;
65
66 bank-width = <2>;
67 #address-cells = <1>;
68 #size-cells = <1>;
69
70 partition@0 {
71 label = "uboot";
72 reg = <0x0 0x30000>;
73 read-only;
74 };
75 partition@30000 {
76 label = "uboot-env";
77 reg = <0x30000 0x4000>;
78 read-only;
79 };
80 factory: partition@34000 {
81 label = "factory";
82 reg = <0x34000 0x4000>;
83 read-only;
84 };
85 partition@38000 {
86 label = "nvram";
87 reg = <0x38000 0x8000>;
88 read-only;
89 };
90 partition@40000 {
91 label = "devdata";
92 reg = <0x40000 0x10000>;
93 };
94 partition@50000 {
95 label = "firmware";
96 reg = <0x50000 0x7b0000>;
97 };
98 };
99
100 rtl8367 {
101 compatible = "realtek,rtl8367";
102 gpio-sda = <&gpio0 1 0>;
103 gpio-sck = <&gpio0 2 0>;
104 realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
105 };
106
107 gpio-keys-polled {
108 compatible = "gpio-keys-polled";
109 #address-cells = <1>;
110 #size-cells = <0>;
111 poll-interval = <100>;
112 reset {
113 label = "reset";
114 gpios = <&gpio0 6 1>;
115 linux,code = <0x198>;
116 };
117 wps {
118 label = "wps";
119 gpios = <&gpio0 3 1>;
120 linux,code = <0x211>;
121 };
122 };
123
124 gpio-leds {
125 compatible = "gpio-leds";
126 wps {
127 label = "samsung:blue:wps";
128 gpios = <&gpio0 0 1>;
129 };
130 usb {
131 label = "samsung:blue:usb";
132 gpios = <&gpio1 1 1>;
133 };
134 };
135 };