2023-01-30 14:57:46 +00:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
/*
|
|
|
|
* Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "rockchip-u-boot.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
dmc {
|
|
|
|
compatible = "rockchip,rk3588-dmc";
|
2023-03-27 19:20:19 +00:00
|
|
|
bootph-all;
|
2023-01-30 14:57:46 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2023-05-15 09:59:45 +00:00
|
|
|
usb_host0_ehci: usb@fc800000 {
|
|
|
|
compatible = "generic-ehci";
|
|
|
|
reg = <0x0 0xfc800000 0x0 0x40000>;
|
|
|
|
interrupts = <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH 0>;
|
|
|
|
clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST_ARB0>;
|
|
|
|
clock-names = "usbhost", "arbiter";
|
|
|
|
power-domains = <&power RK3588_PD_USB>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
usb_host0_ohci: usb@fc840000 {
|
|
|
|
compatible = "generic-ohci";
|
|
|
|
reg = <0x0 0xfc840000 0x0 0x40000>;
|
|
|
|
interrupts = <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH 0>;
|
|
|
|
clocks = <&cru HCLK_HOST0>, <&cru HCLK_HOST_ARB0>;
|
|
|
|
clock-names = "usbhost", "arbiter";
|
|
|
|
power-domains = <&power RK3588_PD_USB>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
usb_host1_ehci: usb@fc880000 {
|
|
|
|
compatible = "generic-ehci";
|
|
|
|
reg = <0x0 0xfc880000 0x0 0x40000>;
|
|
|
|
interrupts = <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH 0>;
|
|
|
|
clocks = <&cru HCLK_HOST1>, <&cru HCLK_HOST_ARB1>;
|
|
|
|
clock-names = "usbhost", "arbiter";
|
|
|
|
power-domains = <&power RK3588_PD_USB>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
usb_host1_ohci: usb@fc8c0000 {
|
|
|
|
compatible = "generic-ohci";
|
|
|
|
reg = <0x0 0xfc8c0000 0x0 0x40000>;
|
|
|
|
interrupts = <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH 0>;
|
|
|
|
clocks = <&cru HCLK_HOST1>, <&cru HCLK_HOST_ARB1>;
|
|
|
|
clock-names = "usbhost", "arbiter";
|
|
|
|
power-domains = <&power RK3588_PD_USB>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2023-01-30 14:57:46 +00:00
|
|
|
pmu1_grf: syscon@fd58a000 {
|
2023-03-27 19:20:19 +00:00
|
|
|
bootph-all;
|
2023-01-30 14:57:46 +00:00
|
|
|
compatible = "rockchip,rk3588-pmu1-grf", "syscon";
|
|
|
|
reg = <0x0 0xfd58a000 0x0 0x2000>;
|
|
|
|
};
|
2023-01-30 14:57:47 +00:00
|
|
|
|
2023-05-15 09:59:45 +00:00
|
|
|
usb2phy2_grf: syscon@fd5d8000 {
|
|
|
|
compatible = "rockchip,rk3588-usb2phy-grf", "syscon",
|
|
|
|
"simple-mfd";
|
|
|
|
reg = <0x0 0xfd5d8000 0x0 0x4000>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
u2phy2: usb2-phy@8000 {
|
|
|
|
compatible = "rockchip,rk3588-usb2phy";
|
|
|
|
reg = <0x8000 0x10>;
|
|
|
|
interrupts = <GIC_SPI 391 IRQ_TYPE_LEVEL_HIGH 0>;
|
|
|
|
clocks = <&cru CLK_USB2PHY_HDPTXRXPHY_REF>;
|
|
|
|
clock-names = "phyclk";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
u2phy2_host: host-port {
|
|
|
|
#phy-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
usb2phy3_grf: syscon@fd5dc000 {
|
|
|
|
compatible = "rockchip,rk3588-usb2phy-grf", "syscon",
|
|
|
|
"simple-mfd";
|
|
|
|
reg = <0x0 0xfd5dc000 0x0 0x4000>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
u2phy3: usb2-phy@c000 {
|
|
|
|
compatible = "rockchip,rk3588-usb2phy";
|
|
|
|
reg = <0xc000 0x10>;
|
|
|
|
interrupts = <GIC_SPI 392 IRQ_TYPE_LEVEL_HIGH 0>;
|
|
|
|
clocks = <&cru CLK_USB2PHY_HDPTXRXPHY_REF>;
|
|
|
|
clock-names = "phyclk";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
u2phy3_host: host-port {
|
|
|
|
#phy-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-02-22 22:44:41 +00:00
|
|
|
otp: nvmem@fecc0000 {
|
|
|
|
compatible = "rockchip,rk3588-otp";
|
|
|
|
reg = <0x0 0xfecc0000 0x0 0x400>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
cpu_id: id@7 {
|
|
|
|
reg = <0x07 0x10>;
|
|
|
|
};
|
|
|
|
};
|
2023-04-13 14:13:03 +00:00
|
|
|
|
|
|
|
rng: rng@fe378000 {
|
|
|
|
compatible = "rockchip,trngv1";
|
|
|
|
reg = <0x0 0xfe378000 0x0 0x200>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2023-01-30 14:57:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&xin24m {
|
2023-03-27 19:20:19 +00:00
|
|
|
bootph-all;
|
2023-01-30 14:57:46 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&cru {
|
2023-03-27 19:20:19 +00:00
|
|
|
bootph-pre-ram;
|
2023-01-30 14:57:46 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&sys_grf {
|
2023-03-27 19:20:19 +00:00
|
|
|
bootph-pre-ram;
|
2023-01-30 14:57:46 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2023-04-17 19:07:21 +00:00
|
|
|
&scmi {
|
|
|
|
bootph-pre-ram;
|
|
|
|
};
|
|
|
|
|
|
|
|
&scmi_clk {
|
|
|
|
bootph-pre-ram;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc {
|
|
|
|
bootph-pre-ram;
|
|
|
|
u-boot,spl-fifo-mode;
|
|
|
|
};
|
|
|
|
|
2023-04-18 16:46:41 +00:00
|
|
|
&sdhci {
|
|
|
|
bootph-pre-ram;
|
2023-05-06 17:41:11 +00:00
|
|
|
u-boot,spl-fifo-mode;
|
2023-04-18 16:46:41 +00:00
|
|
|
};
|
|
|
|
|
2023-01-30 14:57:46 +00:00
|
|
|
&uart2 {
|
|
|
|
clock-frequency = <24000000>;
|
2023-03-27 19:20:19 +00:00
|
|
|
bootph-pre-ram;
|
2023-01-30 14:57:46 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&ioc {
|
2023-03-27 19:20:19 +00:00
|
|
|
bootph-pre-ram;
|
2023-01-30 14:57:46 +00:00
|
|
|
};
|