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