diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-08-28 11:12:31 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2018-09-06 05:31:35 -0400 |
commit | 1926bd6bf20fe306797fbf366902674d2d6c20cc (patch) | |
tree | 4412dfdd9fa828b747e92ae5897751dd301b06dc | |
parent | af69e34040d1d72f7002208a2a46fea7192c7ad6 (diff) |
ARM: dts: r9a06g032: Use r9a06g032-sysctrl binding definitions
Replace the hardcoded clock indices by R9A06G032_CLK_* symbols.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r-- | arch/arm/boot/dts/r9a06g032.dtsi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/r9a06g032.dtsi b/arch/arm/boot/dts/r9a06g032.dtsi index afe29c95a006..3e45375b79aa 100644 --- a/arch/arm/boot/dts/r9a06g032.dtsi +++ b/arch/arm/boot/dts/r9a06g032.dtsi | |||
@@ -7,6 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <dt-bindings/interrupt-controller/arm-gic.h> | 9 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
10 | #include <dt-bindings/clock/r9a06g032-sysctrl.h> | ||
10 | 11 | ||
11 | / { | 12 | / { |
12 | compatible = "renesas,r9a06g032"; | 13 | compatible = "renesas,r9a06g032"; |
@@ -21,14 +22,14 @@ | |||
21 | device_type = "cpu"; | 22 | device_type = "cpu"; |
22 | compatible = "arm,cortex-a7"; | 23 | compatible = "arm,cortex-a7"; |
23 | reg = <0>; | 24 | reg = <0>; |
24 | clocks = <&sysctrl 84>; | 25 | clocks = <&sysctrl R9A06G032_CLK_A7MP>; |
25 | }; | 26 | }; |
26 | 27 | ||
27 | cpu@1 { | 28 | cpu@1 { |
28 | device_type = "cpu"; | 29 | device_type = "cpu"; |
29 | compatible = "arm,cortex-a7"; | 30 | compatible = "arm,cortex-a7"; |
30 | reg = <1>; | 31 | reg = <1>; |
31 | clocks = <&sysctrl 84>; | 32 | clocks = <&sysctrl R9A06G032_CLK_A7MP>; |
32 | enable-method = "renesas,r9a06g032-smp"; | 33 | enable-method = "renesas,r9a06g032-smp"; |
33 | cpu-release-addr = <0 0x4000c204>; | 34 | cpu-release-addr = <0 0x4000c204>; |
34 | }; | 35 | }; |
@@ -82,7 +83,7 @@ | |||
82 | interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; | 83 | interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; |
83 | reg-shift = <2>; | 84 | reg-shift = <2>; |
84 | reg-io-width = <4>; | 85 | reg-io-width = <4>; |
85 | clocks = <&sysctrl 146>; | 86 | clocks = <&sysctrl R9A06G032_CLK_UART0>; |
86 | clock-names = "baudclk"; | 87 | clock-names = "baudclk"; |
87 | status = "disabled"; | 88 | status = "disabled"; |
88 | }; | 89 | }; |