From: George Moussalem <[email protected]>

Add nodes for the reserved memory carveout and Bluetooth.

Signed-off-by: George Moussalem <[email protected]>
---
 arch/arm64/boot/dts/qcom/ipq5018.dtsi | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi 
b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
index 6f8004a22a1f..65a47ba7d3a3 100644
--- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
@@ -17,6 +17,23 @@ / {
        #address-cells = <2>;
        #size-cells = <2>;
 
+       bluetooth: bluetooth {
+               compatible = "qcom,ipq5018-bt";
+
+               firmware-name = "qca/bt_fw_patch.mbn";
+
+               clocks = <&gcc GCC_BTSS_LPO_CLK>;
+               clock-names = "lpo";
+               resets = <&gcc GCC_BTSS_BCR>;
+
+               qcom,ipc = <&apcs_glb 8 23>;
+               interrupts = <GIC_SPI 162 IRQ_TYPE_EDGE_RISING>;
+
+               memory-region = <&btss_region>;
+
+               status = "disabled";
+       };
+
        clocks {
                gephy_rx_clk: gephy-rx-clk {
                        compatible = "fixed-clock";
@@ -136,6 +153,11 @@ reserved-memory {
                #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 +669,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



Reply via email to