diff --git a/qcom/shima-qupv3.dtsi b/qcom/shima-qupv3.dtsi index 3c5999d267ac..aa158a9189e4 100644 --- a/qcom/shima-qupv3.dtsi +++ b/qcom/shima-qupv3.dtsi @@ -53,7 +53,8 @@ , , ; - qcom,gpii-mask = <0xff>; + qcom,static-gpii-mask = <0x1>; + qcom,gpii-mask = <0x7e>; qcom,ev-factor = <2>; qcom,iommu-dma-addr-pool = <0x100000 0x100000>; qcom,gpi-ee-offset = <0x10000>; @@ -174,8 +175,8 @@ pinctrl-names = "default", "sleep"; pinctrl-0 = <&qupv3_se10_i2c_active>; pinctrl-1 = <&qupv3_se10_i2c_sleep>; - dmas = <&gpi_dma0 0 2 3 64 0>, - <&gpi_dma0 1 2 3 64 0>; + dmas = <&gpi_dma0 0 2 3 64 2>, + <&gpi_dma0 1 2 3 64 2>; dma-names = "tx", "rx"; qcom,wrapper-core = <&qupv3_0>; status = "disabled"; diff --git a/qcom/shima-vm.dtsi b/qcom/shima-vm.dtsi index 8a1fb3b5d52c..7b4540df1afb 100644 --- a/qcom/shima-vm.dtsi +++ b/qcom/shima-vm.dtsi @@ -224,5 +224,56 @@ , ; }; + + /* + * QUPv3 Instances + * Qup0 2: SE 10 + */ + + /* QUPv3_0 wrapper instance */ + qupv3_0: qcom,qupv3_0_geni_se@9c0000 { + compatible = "qcom,qupv3-geni-se"; + reg = <0x9c0000 0x2000>; + }; + + /* GPI Instance */ + gpi_dma0: qcom,gpi-dma@900000 { + compatible = "qcom,gpi-dma"; + #dma-cells = <5>; + reg = <0x900000 0x60000>; + reg-names = "gpi-top"; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + qcom,max-num-gpii = <12>; + qcom,gpii-mask = <0x80>; + qcom,ev-factor = <2>; + qcom,gpi-ee-offset = <0x10000>; + status = "ok"; + }; + + /* I2C SE */ + qupv3_se10_i2c: i2c@988000 { + compatible = "qcom,i2c-geni"; + reg = <0x988000 0x4000>; + #address-cells = <1>; + #size-cells = <0>; + dmas = <&gpi_dma0 0 2 3 64 0>, + <&gpi_dma0 1 2 3 64 0>; + dma-names = "tx", "rx"; + qcom,wrapper-core = <&qupv3_0>; + qcom,le-vm; + status = "disabled"; + }; + }; #include "lahaina-vm-ion.dtsi"