brcm63xx: drop linux,part-probe usage where possible
[oweals/openwrt.git] / target / linux / brcm63xx / dts / ar-5315u.dts
1 /dts-v1/;
2
3 #include "bcm6318.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "Comtrend AR-5315u";
9         compatible = "comtrend,ar-5315u", "brcm,bcm6318";
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 3 1>;
26                         linux,code = <KEY_WPS_BUTTON>;
27                 };
28                 reset {
29                         label = "reset";
30                         gpios = <&pinctrl 33 1>;
31                         linux,code = <KEY_RESTART>;
32                 };
33         };
34
35         gpio-leds {
36                 compatible = "gpio-leds";
37
38                 wps_green {
39                         label = "AR-5315u:green:wps";
40                         gpios = <&pinctrl 0 1>;
41                 };
42                 power_green {
43                         label = "AR-5315u:green:power";
44                         gpios = <&pinctrl 1 1>;
45                         default-state = "on";
46                 };
47                 usb_green {
48                         label = "AR-5315u:green:usb";
49                         gpios = <&pinctrl 2 1>;
50                 };
51                 inet_green {
52                         label = "AR-5315u:green:inet";
53                         gpios = <&pinctrl 8 1>;
54                 };
55                 inet_red {
56                         label = "AR-5315u:red:inet";
57                         gpios = <&pinctrl 9 1>;
58                 };
59                 dsl_green {
60                         label = "AR-5315u:green:dsl";
61                         gpios = <&pinctrl 10 1>;
62                 };
63                 power_red {
64                         label = "AR-5315u:red:power";
65                         gpios = <&pinctrl 11 1>;
66                 };
67         };
68 };
69
70 &hsspi {
71         status = "ok";
72
73         flash@0 {
74                 compatible = "jedec,spi-nor";
75                 spi-max-frequency = <62500000>;
76                 spi-tx-bus-width = <2>;
77                 spi-rx-bus-width = <2>;
78                 reg = <0>;
79
80                 #address-cells = <1>;
81                 #size-cells = <1>;
82
83                 partitions {
84                         compatible = "fixed-partitions";
85                         #address-cells = <1>;
86                         #size-cells = <1>;
87
88                         cfe@0 {
89                                 reg = <0x000000 0x010000>;
90                                 label = "cfe";
91                                 read-only;
92                         };
93
94                         linux@10000 {
95                                 reg = <0x010000 0xfe0000>;
96                                 label = "linux";
97                                 compatible = "brcm,bcm963xx-imagetag";
98                         };
99
100                         nvram@ff0000 {
101                                 reg = <0xff0000 0x010000>;
102                                 label = "nvram";
103                         };
104                 };
105         };
106 };
107
108 &pinctrl {
109         pinctrl-names = "default";
110         pinctrl-0 = <&pinctrl_ephy0_act_led &pinctrl_ephy1_act_led
111                      &pinctrl_ephy2_act_led &pinctrl_ephy3_act_led>;
112 };
113
114 &uart0 {
115         status = "ok";
116 };