dts: ipq4019: Move xo and timer nodes to SoC dtsi
Subsystems (2)
PATCH 1/1 dts: ipq4019: Move xo and timer nodes to SoC dtsi
The node for xo and timer belong to the SoC DTS file. Else, new board DT files may not inherit these nodes.
Signed-off-by Varadarajan Narayanan <[email protected]>
--- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 19 ------------------- arch/arm/boot/dts/qcom-ipq4019.dtsi | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 19 deletions(-)
arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi +0 -19
@@ -20,26 +20,7 @@ model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK01.1"; compatible = "qcom,ipq4019"; - clocks { - xo: xo { - compatible = "fixed-clock"; - clock-frequency = <48000000>; - #clock-cells = <0>; - }; - }; - soc { - - - timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0xf08>, - <1 3 0xf08>, - <1 4 0xf08>, - <1 1 0xf08>; - clock-frequency = <48000000>; - }; - pinctrl at 0x01000000 { serial_pins: serial_pinmux { mux {
arch/arm/boot/dts/qcom-ipq4019.dtsi +14 -0
@@ -96,6 +96,11 @@ clock-frequency = <32768>; #clock-cells = <0>; }; + xo: xo { + compatible = "fixed-clock"; + clock-frequency = <48000000>; + #clock-cells = <0>; + }; }; soc {
@@ -104,6 +109,15 @@ ranges; compatible = "simple-bus"; + timer { + compatible = "arm,armv7-timer"; + interrupts = <1 2 0xf08>, + <1 3 0xf08>, + <1 4 0xf08>, + <1 1 0xf08>; + clock-frequency = <48000000>; + }; + intc: interrupt-controller at b000000 { compatible = "qcom,msm-qgic2"; interrupt-controller;
Signature · 1 line
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
Quoted 19 lines · Varadarajan Narayanan
arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi +0
-10@@ -20,26 +20,7 @@ model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK01.1"; compatible = "qcom,ipq4019"; - clocks { - xo: xo { - compatible = "fixed-clock"; - clock-frequency = <48000000>; - #clock-cells = <0>; - }; - }; - soc { - -
arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi line 24
Quoted 10 lines
arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi +0
-9- timer { - compatible = "arm,armv7-timer"; - interrupts = <1 2 0xf08>, - <1 3 0xf08>, - <1 4 0xf08>, - <1 1 0xf08>; - clock-frequency = <48000000>; - }; - pinctrl at 0x01000000 {
This should be pinctrl at 1000000 { and fixed in another patch.
arch/arm/boot/dts/qcom-ipq4019.dtsi line 99
Quoted 11 lines
arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi +0
-0serial_pins: serial_pinmux { mux {arch/arm/boot/dts/qcom-ipq4019.dtsi +1
-0@@ -96,6 +96,11 @@ clock-frequency = <32768>; #clock-cells = <0>; }; + xo: xo {
Please add a newline so it isn't right next to the previous node.
Quoted 9 lines
arch/arm/boot/dts/qcom-ipq4019.dtsi +4
-0+ compatible = "fixed-clock"; + clock-frequency = <48000000>; + #clock-cells = <0>; + }; }; soc {@@ -104,6 +109,15 @@ ranges;
arch/arm/boot/dts/qcom-ipq4019.dtsi line 119
Quoted 10 lines
arch/arm/boot/dts/qcom-ipq4019.dtsi +8
-0compatible = "simple-bus"; + timer { + compatible = "arm,armv7-timer"; + interrupts = <1 2 0xf08>, + <1 3 0xf08>, + <1 4 0xf08>, + <1 1 0xf08>; + clock-frequency = <48000000>; + };
This should be outside of the soc node.
Quoted 4 lines
arch/arm/boot/dts/qcom-ipq4019.dtsi +1
-0+ intc: interrupt-controller at b000000 { compatible = "qcom,msm-qgic2"; interrupt-controller;
Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project