1// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2/* 3 * Copyright (C) 2024 Thomas Bonnefille <thomas.bonnefille@bootlin.com> 4 */ 5 6#include <dt-bindings/interrupt-controller/irq.h> 7#include <dt-bindings/pinctrl/pinctrl-sg2002.h> 8#include "cv18xx.dtsi" 9#include "cv181x.dtsi" 10 11/ { 12 compatible = "sophgo,sg2002"; 13 14 memory@80000000 { 15 device_type = "memory"; 16 reg = <0x80000000 0x10000000>; 17 }; 18 19 soc { 20 pinctrl: pinctrl@3001000 { 21 compatible = "sophgo,sg2002-pinctrl"; 22 reg = <0x03001000 0x1000>, 23 <0x05027000 0x1000>; 24 reg-names = "sys", "rtc"; 25 }; 26 }; 27}; 28 29&plic { 30 compatible = "sophgo,sg2002-plic", "thead,c900-plic"; 31}; 32 33&clint { 34 compatible = "sophgo,sg2002-clint", "thead,c900-clint"; 35}; 36 37&clk { 38 compatible = "sophgo,sg2000-clk"; 39}; 40 41&sdhci0 { 42 compatible = "sophgo,sg2002-dwcmshc"; 43}; 44