Add scp node for mt8189. Signed-off-by: Huayu Zong <huayu.z...@mediatek.com> --- arch/arm64/boot/dts/mediatek/mt8189-evb.dts | 17 +++++++++++++++++ arch/arm64/boot/dts/mediatek/mt8189.dtsi | 11 +++++++++++ 2 files changed, 28 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8189-evb.dts b/arch/arm64/boot/dts/mediatek/mt8189-evb.dts index e5d9ce1b8e61..39cd56b31ca0 100644 --- a/arch/arm64/boot/dts/mediatek/mt8189-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt8189-evb.dts @@ -13,8 +13,25 @@ / { chosen: chosen { stdout-path = "serial0:115200n8"; }; + + reserved_memory: reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + scp_mem_reserved: scp@50000000 { + compatible = "shared-dma-pool"; + reg = <0 0x50000000 0 0x2900000>; + no-map; + }; + }; }; &uart0 { status = "okay"; }; + +&scp { + status = "okay"; + memory-region = <&scp_mem_reserved>; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8189.dtsi b/arch/arm64/boot/dts/mediatek/mt8189.dtsi index 2444c3e553ec..b70397b9ef6c 100644 --- a/arch/arm64/boot/dts/mediatek/mt8189.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8189.dtsi @@ -371,5 +371,16 @@ uart0: serial@11001000 { clock-names = "baud", "bus"; status = "disabled"; }; + + scp: scp@1c400000 { + compatible = "mediatek,mt8189-scp"; + reg = <0 0x1c400000 0 0x60000>, + <0 0x1cb20000 0 0xe0000>; + reg-names = "sram", "cfg"; + interrupts = <GIC_SPI 516 IRQ_TYPE_LEVEL_HIGH 0>; + status = "disabled"; + clocks = <&vlp_cksys_clk CLK_VLP_CK_SCP_SEL>; + clock-names = "scp_sel"; + }; }; }; -- 2.45.2