kernel: move mv88e6xxx fix to generic backports
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_widora_neo-32m.dts
1 /dts-v1/;
2
3 #include "mt7628an_widora_neo.dtsi"
4
5 / {
6 compatible = "widora,neo-32m", "widora,neo", "mediatek,mt7628an-soc";
7 model = "Widora-NEO (32M)";
8 };
9
10 &spi0 {
11 status = "okay";
12
13 pinctrl-names = "default";
14 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
15
16 m25p80@0 {
17 compatible = "jedec,spi-nor";
18 reg = <0>;
19 spi-max-frequency = <40000000>;
20
21 partitions {
22 compatible = "fixed-partitions";
23 #address-cells = <1>;
24 #size-cells = <1>;
25
26 partition@0 {
27 label = "u-boot";
28 reg = <0x0 0x30000>;
29 read-only;
30 };
31
32 partition@30000 {
33 label = "u-boot-env";
34 reg = <0x30000 0x10000>;
35 };
36
37 factory: partition@40000 {
38 label = "factory";
39 reg = <0x40000 0x10000>;
40 read-only;
41 };
42
43 partition@50000 {
44 compatible = "denx,uimage";
45 label = "firmware";
46 reg = <0x50000 0x1fb0000>;
47 };
48 };
49 };
50
51 spidev@1 {
52 #address-cells = <1>;
53 #size-cells = <1>;
54 compatible = "linux,spidev";
55 reg = <1>;
56 spi-max-frequency = <40000000>;
57 };
58 };