Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: qcom: ipq8064: add v2 dtsi variant

Add ipq8064-v2.0 dtsi variant that differ from original ipq8064 SoC for
some additional pcie, sata and usb configuration values, additional
reserved memory and serial output.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220718161826.4943-1-ansuelsmth@gmail.com

authored by

Christian Marangi and committed by
Bjorn Andersson
a9f2cd80 a01bae60

+106
+37
arch/arm/boot/dts/qcom-ipq8064-v2.0-smb208.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + 3 + #include "qcom-ipq8064-v2.0.dtsi" 4 + 5 + &rpm { 6 + smb208_regulators: regulators { 7 + compatible = "qcom,rpm-smb208-regulators"; 8 + 9 + smb208_s1a: s1a { 10 + regulator-min-microvolt = <1050000>; 11 + regulator-max-microvolt = <1150000>; 12 + 13 + qcom,switch-mode-frequency = <1200000>; 14 + }; 15 + 16 + smb208_s1b: s1b { 17 + regulator-min-microvolt = <1050000>; 18 + regulator-max-microvolt = <1150000>; 19 + 20 + qcom,switch-mode-frequency = <1200000>; 21 + }; 22 + 23 + smb208_s2a: s2a { 24 + regulator-min-microvolt = < 800000>; 25 + regulator-max-microvolt = <1250000>; 26 + 27 + qcom,switch-mode-frequency = <1200000>; 28 + }; 29 + 30 + smb208_s2b: s2b { 31 + regulator-min-microvolt = < 800000>; 32 + regulator-max-microvolt = <1250000>; 33 + 34 + qcom,switch-mode-frequency = <1200000>; 35 + }; 36 + }; 37 + };
+69
arch/arm/boot/dts/qcom-ipq8064-v2.0.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + 3 + #include "qcom-ipq8064.dtsi" 4 + 5 + / { 6 + model = "Qualcomm Technologies, Inc. IPQ8064-v2.0"; 7 + 8 + aliases { 9 + serial0 = &gsbi4_serial; 10 + }; 11 + 12 + chosen { 13 + stdout-path = "serial0:115200n8"; 14 + }; 15 + 16 + reserved-memory { 17 + #address-cells = <1>; 18 + #size-cells = <1>; 19 + ranges; 20 + 21 + rsvd@41200000 { 22 + reg = <0x41200000 0x300000>; 23 + no-map; 24 + }; 25 + }; 26 + }; 27 + 28 + &gsbi4 { 29 + qcom,mode = <GSBI_PROT_I2C_UART>; 30 + status = "okay"; 31 + 32 + serial@16340000 { 33 + status = "okay"; 34 + }; 35 + /* 36 + * The i2c device on gsbi4 should not be enabled. 37 + * On ipq806x designs gsbi4 i2c is meant for exclusive 38 + * RPM usage. Turning this on in kernel manifests as 39 + * i2c failure for the RPM. 40 + */ 41 + }; 42 + 43 + &pcie0 { 44 + compatible = "qcom,pcie-ipq8064-v2"; 45 + }; 46 + 47 + &pcie1 { 48 + compatible = "qcom,pcie-ipq8064-v2"; 49 + }; 50 + 51 + &pcie2 { 52 + compatible = "qcom,pcie-ipq8064-v2"; 53 + }; 54 + 55 + &sata { 56 + ports-implemented = <0x1>; 57 + }; 58 + 59 + &ss_phy_0 { 60 + qcom,rx-eq = <2>; 61 + qcom,tx-deamp_3_5db = <32>; 62 + qcom,mpll = <5>; 63 + }; 64 + 65 + &ss_phy_1 { 66 + qcom,rx-eq = <2>; 67 + qcom,tx-deamp_3_5db = <32>; 68 + qcom,mpll = <5>; 69 + };