realtek: Add support for Netgear S350 series switches GS308T and GS310TP
[openwrt/openwrt.git] / target / linux / realtek / dts / rtl8380_netgear_gigabit_3xx.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later
2
3 #include "rtl8380_netgear_gigabit.dtsi"
4
5 &spi0 {
6 status = "okay";
7
8 flash@0 {
9 compatible = "jedec,spi-nor";
10 reg = <0>;
11 spi-max-frequency = <50000000>;
12
13 partitions {
14 compatible = "fixed-partitions";
15 #address-cells = <1>;
16 #size-cells = <1>;
17
18 partition@0 {
19 label = "u-boot";
20 reg = <0x0000000 0x00e0000>;
21 read-only;
22 };
23
24 partition@e0000 {
25 label = "u-boot-env";
26 reg = <0x00e0000 0x0010000>;
27 read-only;
28 };
29
30 partition@f0000 {
31 label = "u-boot-env2";
32 reg = <0x00f0000 0x0010000>;
33 };
34
35 partition@100000 {
36 label = "jffs";
37 reg = <0x0100000 0x0100000>;
38 read-only;
39 };
40
41 partition@200000 {
42 label = "jffs2";
43 reg = <0x0200000 0x0100000>;
44 read-only;
45 };
46
47 partition@300000 {
48 label = "firmware";
49 compatible = "openwrt,uimage", "denx,uimage";
50 openwrt,ih-magic = <0x4e474335>;
51 reg = <0x0300000 0x0e80000>;
52 };
53
54 partition@1180000 {
55 label = "runtime2";
56 reg = <0x1180000 0x0e80000>;
57 read-only;
58 };
59 };
60 };
61 };