2024-04-01 18:10:53 +08:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
/*
|
|
|
|
* Copyright (c) 2024 Amlogic, Inc. All rights reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "amlogic-a4-common.dtsi"
|
2025-04-11 19:38:17 +08:00
|
|
|
#include "amlogic-a5-reset.h"
|
2024-06-27 19:47:53 +08:00
|
|
|
#include <dt-bindings/power/amlogic,a5-pwrc.h>
|
2024-04-01 18:10:53 +08:00
|
|
|
/ {
|
|
|
|
cpus {
|
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu0: cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a55";
|
|
|
|
reg = <0x0 0x0>;
|
|
|
|
enable-method = "psci";
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu1: cpu@100 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a55";
|
|
|
|
reg = <0x0 0x100>;
|
|
|
|
enable-method = "psci";
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu2: cpu@200 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a55";
|
|
|
|
reg = <0x0 0x200>;
|
|
|
|
enable-method = "psci";
|
|
|
|
};
|
|
|
|
|
|
|
|
cpu3: cpu@300 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a55";
|
|
|
|
reg = <0x0 0x300>;
|
|
|
|
enable-method = "psci";
|
|
|
|
};
|
|
|
|
};
|
2024-06-27 19:47:53 +08:00
|
|
|
|
|
|
|
sm: secure-monitor {
|
|
|
|
compatible = "amlogic,meson-gxbb-sm";
|
|
|
|
|
|
|
|
pwrc: power-controller {
|
|
|
|
compatible = "amlogic,a5-pwrc";
|
|
|
|
#power-domain-cells = <1>;
|
|
|
|
};
|
|
|
|
};
|
2024-04-01 18:10:53 +08:00
|
|
|
};
|
2025-03-11 11:08:30 +08:00
|
|
|
|
|
|
|
&apb {
|
2025-04-11 19:38:17 +08:00
|
|
|
reset: reset-controller@2000 {
|
|
|
|
compatible = "amlogic,a5-reset",
|
|
|
|
"amlogic,meson-s4-reset";
|
|
|
|
reg = <0x0 0x2000 0x0 0x98>;
|
|
|
|
#reset-cells = <1>;
|
|
|
|
};
|
|
|
|
|
2025-03-11 11:08:30 +08:00
|
|
|
gpio_intc: interrupt-controller@4080 {
|
|
|
|
compatible = "amlogic,a5-gpio-intc",
|
|
|
|
"amlogic,meson-gpio-intc";
|
|
|
|
reg = <0x0 0x4080 0x0 0x20>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
amlogic,channel-interrupts =
|
|
|
|
<10 11 12 13 14 15 16 17 18 19 20 21>;
|
|
|
|
};
|
|
|
|
};
|