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