ramips: drop m25p,chunked-io from dts
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / WRTNODE2.dtsi
1 #include "mt7628an.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7 compatible = "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
8
9 chosen {
10 bootargs = "console=ttyS0,115200";
11 };
12
13 keys {
14 compatible = "gpio-keys-polled";
15 poll-interval = <20>;
16
17 reset {
18 label = "reset";
19 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
20 linux,code = <KEY_RESTART>;
21 };
22 };
23 };
24
25 &spi0 {
26 status = "okay";
27
28 m25p80@0 {
29 compatible = "jedec,spi-nor";
30 reg = <0>;
31 spi-max-frequency = <10000000>;
32
33 partitions {
34 compatible = "fixed-partitions";
35 #address-cells = <1>;
36 #size-cells = <1>;
37
38 partition@0 {
39 label = "u-boot";
40 reg = <0x0 0x30000>;
41 read-only;
42 };
43
44 partition@30000 {
45 label = "u-boot-env";
46 reg = <0x30000 0x10000>;
47 read-only;
48 };
49
50 factory: partition@40000 {
51 label = "factory";
52 reg = <0x40000 0x10000>;
53 read-only;
54 };
55
56 partition@50000 {
57 compatible = "denx,uimage";
58 label = "firmware";
59 reg = <0x50000 0x1fb0000>;
60 };
61 };
62 };
63
64 spidev@1 {
65 #address-cells = <1>;
66 #size-cells = <1>;
67 compatible = "linux,spidev";
68 reg = <1>;
69 spi-max-frequency = <10000000>;
70 };
71 };
72
73 &uart1 {
74 status = "okay";
75 };
76
77 &i2c {
78 status = "okay";
79 };
80
81 &ethernet {
82 mtd-mac-address = <&factory 0x4>;
83 mediatek,portmap = "llllw";
84 };
85
86 &sdhci {
87 status = "okay";
88 };
89
90 &pcie {
91 status = "okay";
92 };
93
94 &wmac {
95 status = "okay";
96 };