1// SPDX-License-Identifier: GPL-2.0-or-later 2/dts-v1/; 3 4#include "rtl930x.dtsi" 5 6#include <dt-bindings/input/input.h> 7#include <dt-bindings/gpio/gpio.h> 8#include <dt-bindings/leds/common.h> 9#include <dt-bindings/thermal/thermal.h> 10 11/ { 12 compatible = "cameo,rtl9302c-2x-rtl8224-2xge", "realtek,rtl9302-soc"; 13 model = "RTL9302C Development Board"; 14 15 memory@0 { 16 device_type = "memory"; 17 reg = <0x0 0x8000000>; 18 }; 19 20 chosen { 21 stdout-path = "serial0:115200n8"; 22 }; 23}; 24 25&uart0 { 26 status = "okay"; 27}; 28 29&spi0 { 30 status = "okay"; 31 flash@0 { 32 compatible = "jedec,spi-nor"; 33 reg = <0>; 34 spi-max-frequency = <10000000>; 35 36 partitions { 37 compatible = "fixed-partitions"; 38 #address-cells = <1>; 39 #size-cells = <1>; 40 41 partition@0 { 42 label = "LOADER"; 43 reg = <0x0 0xe0000>; 44 read-only; 45 }; 46 partition@e0000 { 47 label = "BDINFO"; 48 reg = <0xe0000 0x10000>; 49 }; 50 partition@f0000 { 51 label = "SYSINFO"; 52 reg = <0xf0000 0x10000>; 53 read-only; 54 }; 55 partition@100000 { 56 label = "JFFS2 CFG"; 57 reg = <0x100000 0x100000>; 58 }; 59 partition@200000 { 60 label = "JFFS2 LOG"; 61 reg = <0x200000 0x100000>; 62 }; 63 partition@300000 { 64 label = "RUNTIME"; 65 reg = <0x300000 0xe80000>; 66 }; 67 partition@1180000 { 68 label = "RUNTIME2"; 69 reg = <0x1180000 0xe80000>; 70 }; 71 }; 72 }; 73}; 74