From: George Moussalem Add nodes for the M0 remoteproc, reserved memory carveout, and Bluetooth to bring up the M0 core and enable the Bluetooth Subsystem. Signed-off-by: George Moussalem --- arch/arm64/boot/dts/qcom/ipq5018.dtsi | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi index 6f8004a22a1f..4fdf20c87b0a 100644 --- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi @@ -17,6 +17,17 @@ / { #address-cells = <2>; #size-cells = <2>; + bluetooth: bluetooth { + compatible = "qcom,ipq5018-bt"; + + qcom,ipc = <&apcs_glb 8 23>; + interrupts = ; + + qcom,rproc = <&m0_btss>; + + status = "disabled"; + }; + clocks { gephy_rx_clk: gephy-rx-clk { compatible = "fixed-clock"; @@ -131,11 +142,31 @@ psci { method = "smc"; }; + m0_btss: remoteproc { + compatible = "qcom,ipq5018-btss-pil"; + + firmware-name = "qca/bt_fw_patch.mbn"; + + clocks = <&gcc GCC_BTSS_LPO_CLK>; + clock-names = "btss_lpo_clk"; + resets = <&gcc GCC_BTSS_BCR>; + reset-names = "btss_reset"; + + memory-region = <&btss_region>; + + status = "disabled"; + }; + reserved-memory { #address-cells = <2>; #size-cells = <2>; ranges; + btss_region: bluetooth@7000000 { + reg = <0x0 0x07000000 0x0 0x58000>; + no-map; + }; + bootloader@4a800000 { reg = <0x0 0x4a800000 0x0 0x200000>; no-map; @@ -647,7 +678,8 @@ watchdog: watchdog@b017000 { apcs_glb: mailbox@b111000 { compatible = "qcom,ipq5018-apcs-apps-global", - "qcom,ipq6018-apcs-apps-global"; + "qcom,ipq6018-apcs-apps-global", + "syscon"; reg = <0x0b111000 0x1000>; #clock-cells = <1>; clocks = <&a53pll>, <&xo_board_clk>, <&gcc GPLL0>; -- 2.53.0