bcm63xx: add a few DTSI files to share definitions
[openwrt/openwrt.git] / target / linux / bcm63xx / dts / bcm6358-sfr-neufbox-4.dtsi
1 #include "bcm6358.dtsi"
2
3 #include <dt-bindings/input/input.h>
4
5 / {
6 chosen {
7 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
8 stdout-path = "serial0:115200n8";
9 };
10
11 keys {
12 compatible = "gpio-keys-polled";
13 #address-cells = <1>;
14 #size-cells = <0>;
15 poll-interval = <20>;
16
17 service {
18 label = "service";
19 gpios = <&pinctrl 27 1>;
20 linux,code = <BTN_0>;
21 debounce-interval = <60>;
22 };
23
24 clip {
25 label = "clip";
26 gpios = <&pinctrl 31 1>;
27 linux,code = <BTN_1>;
28 debounce-interval = <60>;
29 };
30
31 reset {
32 label = "reset";
33 gpios = <&pinctrl 34 1>;
34 linux,code = <KEY_RESTART>;
35 debounce-interval = <60>;
36 };
37
38 wps {
39 label = "wps";
40 gpios = <&pinctrl 37 1>;
41 linux,code = <KEY_WPS_BUTTON>;
42 debounce-interval = <60>;
43 };
44 };
45 };
46
47 &leds {
48 status = "okay";
49
50 pinctrl-names = "default";
51 pinctrl-0 = <&pinctrl_serial_led>;
52
53 led@0 {
54 reg = <0>;
55 active-low;
56 label = "white:alarm";
57 };
58
59 led@2 {
60 reg = <2>;
61 active-low;
62 label = "white:tv";
63 };
64
65 led@3 {
66 reg = <3>;
67 active-low;
68 label = "white:tel";
69 };
70
71 led@4 {
72 reg = <4>;
73 active-low;
74 label = "white:adsl";
75 };
76 };
77
78 &pflash {
79 status = "okay";
80
81 partitions {
82 compatible = "brcm,bcm963xx-cfe-nor-partitions";
83 };
84 };
85
86 &uart0 {
87 status = "okay";
88 };