arm64: dts: qcom: Make -cells decimal
authorAndrew Halaney <ahalaney@redhat.com>
Mon, 1 May 2023 21:24:44 +0000 (16:24 -0500)
committerBjorn Andersson <andersson@kernel.org>
Thu, 25 May 2023 02:33:17 +0000 (19:33 -0700)
The property logically makes sense in decimal, and is the standard used
elsewhere.

Suggested-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230501212446.2570364-3-ahalaney@redhat.com
arch/arm64/boot/dts/qcom/ipq6018.dtsi
arch/arm64/boot/dts/qcom/ipq8074.dtsi
arch/arm64/boot/dts/qcom/msm8953.dtsi
arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts
arch/arm64/boot/dts/qcom/sa8155p-adp.dts

index 9ff4e9d..ccaf8e5 100644 (file)
                        #address-cells = <2>;
                        #size-cells = <2>;
                        interrupt-controller;
-                       #interrupt-cells = <0x3>;
+                       #interrupt-cells = <3>;
                        reg = <0x0 0x0b000000 0x0 0x1000>,  /*GICD*/
                              <0x0 0x0b002000 0x0 0x1000>,  /*GICC*/
                              <0x0 0x0b001000 0x0 0x1000>,  /*GICH*/
index 84e715a..0bde130 100644 (file)
@@ -29,8 +29,8 @@
        };
 
        cpus {
-               #address-cells = <0x1>;
-               #size-cells = <0x0>;
+               #address-cells = <1>;
+               #size-cells = <0>;
 
                CPU0: cpu@0 {
                        device_type = "cpu";
        };
 
        soc: soc {
-               #address-cells = <0x1>;
-               #size-cells = <0x1>;
+               #address-cells = <1>;
+               #size-cells = <1>;
                ranges = <0 0 0 0xffffffff>;
                compatible = "simple-bus";
 
                        interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
                        gpio-controller;
                        gpio-ranges = <&tlmm 0 0 70>;
-                       #gpio-cells = <0x2>;
+                       #gpio-cells = <2>;
                        interrupt-controller;
-                       #interrupt-cells = <0x2>;
+                       #interrupt-cells = <2>;
 
                        serial_4_pins: serial4-state {
                                pins = "gpio23", "gpio24";
                        #address-cells = <1>;
                        #size-cells = <1>;
                        interrupt-controller;
-                       #interrupt-cells = <0x3>;
+                       #interrupt-cells = <3>;
                        reg = <0x0b000000 0x1000>, <0x0b002000 0x1000>;
                        ranges = <0 0xb00a000 0xffd>;
 
index 602cb18..eeebdab 100644 (file)
                timer@b120000 {
                        compatible = "arm,armv7-timer-mem";
                        reg = <0x0b120000 0x1000>;
-                       #address-cells = <0x01>;
-                       #size-cells = <0x01>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
                        ranges;
 
                        frame@b121000 {
index 59702ba..358827c 100644 (file)
@@ -27,8 +27,8 @@
        phy-handle = <&phy1>;
        phy-mode = "rgmii";
        mdio {
-               #address-cells = <0x1>;
-               #size-cells = <0x0>;
+               #address-cells = <1>;
+               #size-cells = <0>;
                compatible = "snps,dwmac-mdio";
                phy1: phy@4 {
                        compatible = "ethernet-phy-ieee802.3-c22";
index 029b231..ac52a8d 100644 (file)
 
        mdio {
                compatible = "snps,dwmac-mdio";
-               #address-cells = <0x1>;
-               #size-cells = <0x0>;
+               #address-cells = <1>;
+               #size-cells = <0>;
 
                /* Micrel KSZ9031RNZ PHY */
                rgmii_phy: phy@7 {