bcm63xx: move dts-v1 statement to top-level DTSI files
[openwrt/staging/mkresin.git] / target / linux / bcm63xx / dts / bcm6368-huawei-echolife-hg622.dts
1 #include "bcm6368.dtsi"
2
3 #include <dt-bindings/input/input.h>
4
5 / {
6 model = "Huawei EchoLife HG622";
7 compatible = "huawei,echolife-hg622", "brcm,bcm6368";
8
9 chosen {
10 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
11 stdout-path = "serial0:115200n8";
12 };
13
14
15 keys {
16 compatible = "gpio-keys-polled";
17 #address-cells = <1>;
18 #size-cells = <0>;
19 poll-interval = <20>;
20
21 reset {
22 label = "reset";
23 gpios = <&pinctrl 34 1>;
24 linux,code = <KEY_RESTART>;
25 debounce-interval = <60>;
26 };
27 };
28
29 leds {
30 compatible = "gpio-leds";
31
32 dsl_green {
33 label = "green:dsl";
34 gpios = <&pinctrl 2 1>;
35 };
36 inet_green {
37 label = "green:inet";
38 gpios = <&pinctrl 5 1>;
39 };
40 usb_green {
41 label = "green:usb";
42 gpios = <&pinctrl 11 1>;
43 };
44 power_green {
45 label = "green:power";
46 gpios = <&pinctrl 22 1>;
47 default-state = "on";
48 };
49 };
50 };
51
52 &pflash {
53 status = "okay";
54
55 partitions {
56 compatible = "fixed-partitions";
57 #address-cells = <1>;
58 #size-cells = <1>;
59
60 cfe@0 {
61 label = "CFE";
62 reg = <0x000000 0x020000>;
63 read-only;
64 };
65
66 linux@20000 {
67 label = "linux";
68 reg = <0x020000 0xf80000>;
69 compatible = "brcm,bcm963xx-imagetag";
70 };
71
72 cal_data@fa0000 {
73 label = "cal_data";
74 reg = <0xfa0000 0x020000>;
75 read-only;
76 };
77
78 nvram@fe0000 {
79 label = "nvram";
80 reg = <0xfe0000 0x020000>;
81 };
82 };
83 };
84
85 &pinctrl {
86 pinctrl-names = "default";
87 pinctrl-0 = <&pinctrl_ephy0_led &pinctrl_ephy1_led
88 &pinctrl_ephy2_led &pinctrl_ephy3_led
89 &pinctrl_pci_gnt0 &pinctrl_pci_req0
90 &pinctrl_pci_intb &pinctrl_pci_gnt1
91 &pinctrl_pci_req1>;
92 };
93
94 &uart0 {
95 status = "okay";
96 };