Commit 1652dbf7 authored by Eddie Huang's avatar Eddie Huang Committed by Matthias Brugger

arm64: dts: mt8183: add scp node

Add scp node to mt8183 and mt8183-evb
Signed-off-by: default avatarErin Lo <erin.lo@mediatek.com>
Signed-off-by: default avatarPi-Hsun Shih <pihsun@chromium.org>
Signed-off-by: default avatarEddie Huang <eddie.huang@mediatek.com>
Link: https://lore.kernel.org/r/20191112110330.179649-5-pihsun@chromium.org
Link: https://lore.kernel.org/r/20200909081422.2412795-1-pihsun@chromium.org
[mb: squashed both patches]
Signed-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent 9d955478
...@@ -25,6 +25,17 @@ memory@40000000 { ...@@ -25,6 +25,17 @@ memory@40000000 {
chosen { chosen {
stdout-path = "serial0:921600n8"; stdout-path = "serial0:921600n8";
}; };
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
scp_mem_reserved: scp_mem_region {
compatible = "shared-dma-pool";
reg = <0 0x50000000 0 0x2900000>;
no-map;
};
};
}; };
&auxadc { &auxadc {
......
...@@ -90,6 +90,18 @@ pp3300_alw: regulator6 { ...@@ -90,6 +90,18 @@ pp3300_alw: regulator6 {
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
}; };
reserved_memory: reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
scp_mem_reserved: scp_mem_region {
compatible = "shared-dma-pool";
reg = <0 0x50000000 0 0x2900000>;
no-map;
};
};
max98357a: codec0 { max98357a: codec0 {
compatible = "maxim,max98357a"; compatible = "maxim,max98357a";
sdmode-gpios = <&pio 175 0>; sdmode-gpios = <&pio 175 0>;
...@@ -524,6 +536,13 @@ pins_clk { ...@@ -524,6 +536,13 @@ pins_clk {
}; };
}; };
scp_pins: scp {
pins_scp_uart {
pinmux = <PINMUX_GPIO110__FUNC_TP_URXD1_AO>,
<PINMUX_GPIO112__FUNC_TP_UTXD1_AO>;
};
};
spi0_pins: spi0 { spi0_pins: spi0 {
pins_spi{ pins_spi{
pinmux = <PINMUX_GPIO85__FUNC_SPI0_MI>, pinmux = <PINMUX_GPIO85__FUNC_SPI0_MI>,
...@@ -651,6 +670,17 @@ pins_wifi_wakeup { ...@@ -651,6 +670,17 @@ pins_wifi_wakeup {
}; };
}; };
&scp {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&scp_pins>;
cros_ec {
compatible = "google,cros-ec-rpmsg";
mtk,rpmsg-name = "cros-ec-rpmsg";
};
};
&soc_data { &soc_data {
status = "okay"; status = "okay";
}; };
......
...@@ -339,6 +339,18 @@ pwrap: pwrap@1000d000 { ...@@ -339,6 +339,18 @@ pwrap: pwrap@1000d000 {
clock-names = "spi", "wrap"; clock-names = "spi", "wrap";
}; };
scp: scp@10500000 {
compatible = "mediatek,mt8183-scp";
reg = <0 0x10500000 0 0x80000>,
<0 0x105c0000 0 0x19080>;
reg-names = "sram", "cfg";
interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&infracfg CLK_INFRA_SCPSYS>;
clock-names = "main";
memory-region = <&scp_mem_reserved>;
status = "disabled";
};
systimer: timer@10017000 { systimer: timer@10017000 {
compatible = "mediatek,mt8183-timer", compatible = "mediatek,mt8183-timer",
"mediatek,mt6765-timer"; "mediatek,mt6765-timer";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment