brcm63xx: drop linux,part-probe usage where possible
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / r5010unv2.dts
1 /dts-v1/;
2
3 #include "bcm6328.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "NuCom R5010UN v2";
9 compatible = "nucom,r5010unv2", "brcm,bcm6328";
10
11 chosen {
12 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 stdout-path = "serial0:115200n8";
14 };
15
16
17 gpio-keys-polled {
18 compatible = "gpio-keys-polled";
19 #address-cells = <1>;
20 #size-cells = <0>;
21 poll-interval = <20>;
22 debounce-interval = <60>;
23
24 reset {
25 label = "reset";
26 gpios = <&pinctrl 23 1>;
27 linux,code = <KEY_RESTART>;
28 };
29 wps {
30 label = "wps";
31 gpios = <&pinctrl 24 1>;
32 linux,code = <KEY_WPS_BUTTON>;
33 };
34 };
35
36 gpio-leds {
37 compatible = "gpio-leds";
38
39 inet_green {
40 label = "R5010UNv2:green:inet";
41 gpios = <&pinctrl 1 1>;
42 };
43 inet_fail_red {
44 label = "R5010UNv2:red:inet-fail";
45 gpios = <&pinctrl 2 1>;
46 };
47 dsl_red {
48 label = "R5010UNv2:green:dsl";
49 gpios = <&pinctrl 3 1>;
50 };
51 power_green {
52 label = "R5010UNv2:green:power";
53 gpios = <&pinctrl 4 1>;
54 default-state = "on";
55 };
56 power_fail_red {
57 label = "R5010UNv2:red:power-fail";
58 gpios = <&pinctrl 5 1>;
59 };
60 wps_green {
61 label = "R5010UNv2:green:wps";
62 gpios = <&pinctrl 10 1>;
63 };
64 usb_green {
65 label = "R5010UNv2:green:usb";
66 gpios = <&pinctrl 11 1>;
67 };
68 };
69 };
70
71 &hsspi {
72 status = "ok";
73
74 flash@0 {
75 compatible = "jedec,spi-nor";
76 spi-max-frequency = <16666667>;
77 spi-tx-bus-width = <2>;
78 spi-rx-bus-width = <2>;
79 reg = <0>;
80
81 #address-cells = <1>;
82 #size-cells = <1>;
83
84 partitions {
85 compatible = "fixed-partitions";
86 #address-cells = <1>;
87 #size-cells = <1>;
88
89 cfe@0 {
90 reg = <0x000000 0x010000>;
91 label = "cfe";
92 read-only;
93 };
94
95 linux@10000 {
96 reg = <0x010000 0x7e0000>;
97 label = "linux";
98 compatible = "brcm,bcm963xx-imagetag";
99 };
100
101 nvram@7f0000 {
102 reg = <0x7f0000 0x010000>;
103 label = "nvram";
104 };
105 };
106 };
107 };
108
109 &uart0 {
110 status = "ok";
111 };