193b61555SThomas Bonnefille// SPDX-License-Identifier: (GPL-2.0 OR MIT) 293b61555SThomas Bonnefille/* 393b61555SThomas Bonnefille * Copyright (C) 2024 Thomas Bonnefille <thomas.bonnefille@bootlin.com> 493b61555SThomas Bonnefille */ 593b61555SThomas Bonnefille 693b61555SThomas Bonnefille#include <dt-bindings/interrupt-controller/irq.h> 793b61555SThomas Bonnefille#include <dt-bindings/pinctrl/pinctrl-sg2002.h> 893b61555SThomas Bonnefille#include "cv18xx.dtsi" 9*b5cf65ccSInochi Amaoto#include "cv181x.dtsi" 1093b61555SThomas Bonnefille 1193b61555SThomas Bonnefille/ { 1293b61555SThomas Bonnefille compatible = "sophgo,sg2002"; 1393b61555SThomas Bonnefille 1493b61555SThomas Bonnefille memory@80000000 { 1593b61555SThomas Bonnefille device_type = "memory"; 1693b61555SThomas Bonnefille reg = <0x80000000 0x10000000>; 1793b61555SThomas Bonnefille }; 1893b61555SThomas Bonnefille 1993b61555SThomas Bonnefille soc { 2044196383SThomas Bonnefille pinctrl: pinctrl@3001000 { 2193b61555SThomas Bonnefille compatible = "sophgo,sg2002-pinctrl"; 2293b61555SThomas Bonnefille reg = <0x03001000 0x1000>, 2393b61555SThomas Bonnefille <0x05027000 0x1000>; 2493b61555SThomas Bonnefille reg-names = "sys", "rtc"; 2593b61555SThomas Bonnefille }; 2693b61555SThomas Bonnefille }; 2793b61555SThomas Bonnefille}; 2893b61555SThomas Bonnefille 2993b61555SThomas Bonnefille&plic { 3093b61555SThomas Bonnefille compatible = "sophgo,sg2002-plic", "thead,c900-plic"; 3193b61555SThomas Bonnefille}; 3293b61555SThomas Bonnefille 3393b61555SThomas Bonnefille&clint { 3493b61555SThomas Bonnefille compatible = "sophgo,sg2002-clint", "thead,c900-clint"; 3593b61555SThomas Bonnefille}; 3693b61555SThomas Bonnefille 3793b61555SThomas Bonnefille&clk { 3893b61555SThomas Bonnefille compatible = "sophgo,sg2000-clk"; 3993b61555SThomas Bonnefille}; 4093b61555SThomas Bonnefille 4193b61555SThomas Bonnefille&sdhci0 { 4293b61555SThomas Bonnefille compatible = "sophgo,sg2002-dwcmshc"; 4393b61555SThomas Bonnefille}; 44