brcm63xx: drop linux,part-probe usage where possible
[oweals/openwrt.git] / target / linux / brcm63xx / dts / hg655b.dts
1 /dts-v1/;
2
3 #include "bcm6368.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "Huawei HG655b";
9         compatible = "huawei,hg655b", "brcm,bcm6368";
10
11         chosen {
12                 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13                 stdout-path = "serial0:115200n8";
14         };
15
16         gpio-keys-polled {
17                 compatible = "gpio-keys-polled";
18                 #address-cells = <1>;
19                 #size-cells = <0>;
20                 poll-interval = <20>;
21                 debounce-interval = <60>;
22
23                 wps {
24                         label = "wps";
25                         gpios = <&pinctrl 12 1>;
26                         linux,code = <KEY_WPS_BUTTON>;
27                 };
28                 wlan {
29                         label = "wlan";
30                         gpios = <&pinctrl 23 1>;
31                         linux,code = <KEY_WLAN>;
32                 };
33                 reset {
34                         label = "reset";
35                         gpios = <&pinctrl 34 1>;
36                         linux,code = <KEY_RESTART>;
37                 };
38         };
39
40         gpio-leds {
41                 compatible = "gpio-leds";
42
43                 dsl_green {
44                         label = "HW65x:green:dsl";
45                         gpios = <&pinctrl 2 1>;
46                 };
47                 internet_green {
48                         label = "HW65x:green:internet";
49                         gpios = <&pinctrl 5 1>;
50                 };
51
52                 usb_green {
53                         label = "HW65x:green:usb";
54                         gpios = <&pinctrl 14 1>;
55                 };
56                 power_green {
57                         label = "HW65x:green:power";
58                         gpios = <&pinctrl 22 1>;
59                         default-state = "on";
60                 };
61                 voip_green {
62                         label = "HW65x:green:voip";
63                         gpios = <&pinctrl 25 1>;
64                 };
65                 wps_green {
66                         label = "HW65x:green:wps";
67                         gpios = <&pinctrl 27 1>;
68                 };
69         };
70 };
71
72 &pflash {
73         status = "ok";
74
75         partitions {
76                 compatible = "fixed-partitions";
77                 #address-cells = <1>;
78                 #size-cells = <1>;
79
80                 cfe@0 {
81                         label = "CFE";
82                         reg = <0x000000 0x020000>;
83                 };
84
85                 linux@20000 {
86                         label = "linux";
87                         reg = <0x020000 0x770000>;
88                         compatible = "brcm,bcm963xx-imagetag";
89                 };
90
91                 board_data@790000 {
92                         label = "board_data";
93                         reg = <0x790000 0x030000>;
94                 };
95
96                 cal_data@7c0000 {
97                         label = "cal_data";
98                         reg = <0x7c0000 0x020000>;
99                         read-only;
100                 };
101
102                 nvram@7d0000 {
103                         label = "nvram";
104                         reg = <0x7e0000 0x020000>;
105                 };
106         };
107 };
108
109 &pinctrl {
110         pinctrl-names = "default";
111         pinctrl-0 = <&pinctrl_pci &pinctrl_ephy0_led &pinctrl_ephy1_led
112                      &pinctrl_ephy2_led &pinctrl_ephy3_led>;
113 };
114
115 &uart0 {
116         status = "ok";
117 };