brcm63xx: drop linux,part-probe usage where possible
[openwrt/staging/wigyori.git] / target / linux / brcm63xx / dts / fast2504n.dts
1 /dts-v1/;
2
3 #include "bcm6362.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "Sagem F@ST2504n";
9 compatible = "sagem,f@st2504n", "brcm,bcm6362";
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 reset {
24 label = "reset";
25 gpios = <&pinctrl 24 1>;
26 linux,code = <KEY_RESTART>;
27 };
28 wps {
29 label = "wps";
30 gpios = <&pinctrl 25 1>;
31 linux,code = <KEY_WPS_BUTTON>;
32 };
33 };
34
35 gpio-leds {
36 compatible = "gpio-leds";
37
38 power_orange {
39 label = "fast2504n:orange:power";
40 gpios = <&pinctrl 2 1>;
41 };
42 power_green {
43 label = "fast2504n:green:power";
44 gpios = <&pinctrl 10 1>;
45 default-state = "on";
46 };
47 inet_red {
48 label = "fast2504n:red:internet";
49 gpios = <&pinctrl 26 1>;
50 };
51 ok_green {
52 label = "fast2504n:green:ok";
53 gpios = <&pinctrl 28 1>;
54 };
55 ok_orange {
56 label = "fast2504n:orange:ok";
57 gpios = <&pinctrl 29 1>;
58 };
59 wlan_orangee {
60 label = "fast2504n:orange:wlan";
61 gpios = <&pinctrl 30 1>;
62 };
63 };
64 };
65
66 &hsspi {
67 status = "ok";
68
69 flash@0 {
70 compatible = "jedec,spi-nor";
71 spi-max-frequency = <20000000>;
72 spi-tx-bus-width = <2>;
73 spi-rx-bus-width = <2>;
74 reg = <0>;
75
76 #address-cells = <1>;
77 #size-cells = <1>;
78
79 partitions {
80 compatible = "fixed-partitions";
81 #address-cells = <1>;
82 #size-cells = <1>;
83
84 cfe@0 {
85 reg = <0x000000 0x010000>;
86 label = "cfe";
87 read-only;
88 };
89
90 linux@10000 {
91 reg = <0x010000 0x7e0000>;
92 label = "linux";
93 compatible = "brcm,bcm963xx-imagetag";
94 };
95
96 nvram@7f0000 {
97 reg = <0x7f0000 0x010000>;
98 label = "nvram";
99 };
100 };
101 };
102 };
103
104 &uart0 {
105 status = "ok";
106 };