From f98121f3ef3d36f4d040b11ab38f15387f6eefa2 Mon Sep 17 00:00:00 2001 From: Arnd Bergmann Date: Wed, 30 Nov 2016 15:08:55 +0100 Subject: arm64: dts: fix build errors from missing dependencies Two branches were incorrectly sent without having the necessary header file changes. Rather than back those out now, I'm replacing the symbolic names for the clks and resets with the numeric values to get 'make allmodconfig dtbs' back to work. After the header file changes are merged, we can revert this patch. Fixes: 6bc37fa ("arm64: dts: add Allwinner A64 SoC .dtsi") Fixes: 50784e6 ("dts: arm64: db820c: add pmic pins specific dts file") Acked-by: Andre Przywara Acked-by: Maxime Ripard Acked-by: Srinivas Kandagatla Signed-off-by: Arnd Bergmann --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 36 ++++++++++------------ .../boot/dts/qcom/apq8096-db820c-pmic-pins.dtsi | 2 +- 2 files changed, 18 insertions(+), 20 deletions(-) --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -42,10 +42,8 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#include #include #include -#include / { interrupt-parent = <&gic>; @@ -137,7 +135,7 @@ interrupts = , , ; - clocks = <&ccu CLK_BUS_PIO>; + clocks = <&ccu 58>; gpio-controller; #gpio-cells = <3>; interrupt-controller; @@ -160,8 +158,8 @@ interrupts = ; reg-shift = <2>; reg-io-width = <4>; - clocks = <&ccu CLK_BUS_UART0>; - resets = <&ccu RST_BUS_UART0>; + clocks = <&ccu 67>; + resets = <&ccu 46>; status = "disabled"; }; @@ -171,8 +169,8 @@ interrupts = ; reg-shift = <2>; reg-io-width = <4>; - clocks = <&ccu CLK_BUS_UART1>; - resets = <&ccu RST_BUS_UART1>; + clocks = <&ccu 68>; + resets = <&ccu 47>; status = "disabled"; }; @@ -182,8 +180,8 @@ interrupts = ; reg-shift = <2>; reg-io-width = <4>; - clocks = <&ccu CLK_BUS_UART2>; - resets = <&ccu RST_BUS_UART2>; + clocks = <&ccu 69>; + resets = <&ccu 48>; status = "disabled"; }; @@ -193,8 +191,8 @@ interrupts = ; reg-shift = <2>; reg-io-width = <4>; - clocks = <&ccu CLK_BUS_UART3>; - resets = <&ccu RST_BUS_UART3>; + clocks = <&ccu 70>; + resets = <&ccu 49>; status = "disabled"; }; @@ -204,8 +202,8 @@ interrupts = ; reg-shift = <2>; reg-io-width = <4>; - clocks = <&ccu CLK_BUS_UART4>; - resets = <&ccu RST_BUS_UART4>; + clocks = <&ccu 71>; + resets = <&ccu 50>; status = "disabled"; }; @@ -213,8 +211,8 @@ compatible = "allwinner,sun6i-a31-i2c"; reg = <0x01c2ac00 0x400>; interrupts = ; - clocks = <&ccu CLK_BUS_I2C0>; - resets = <&ccu RST_BUS_I2C0>; + clocks = <&ccu 63>; + resets = <&ccu 42>; status = "disabled"; #address-cells = <1>; #size-cells = <0>; @@ -224,8 +222,8 @@ compatible = "allwinner,sun6i-a31-i2c"; reg = <0x01c2b000 0x400>; interrupts = ; - clocks = <&ccu CLK_BUS_I2C1>; - resets = <&ccu RST_BUS_I2C1>; + clocks = <&ccu 64>; + resets = <&ccu 43>; status = "disabled"; #address-cells = <1>; #size-cells = <0>; @@ -235,8 +233,8 @@ compatible = "allwinner,sun6i-a31-i2c"; reg = <0x01c2b400 0x400>; interrupts = ; - clocks = <&ccu CLK_BUS_I2C2>; - resets = <&ccu RST_BUS_I2C2>; + clocks = <&ccu 65>; + resets = <&ccu 44>; status = "disabled"; #address-cells = <1>; #size-cells = <0>;