diff options
| author | Olof Johansson <olof@lixom.net> | 2017-04-19 08:37:37 -0400 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2017-04-19 08:37:37 -0400 |
| commit | 6929f0f6a49f56565fd0d2f87dafa5c7bcd970ba (patch) | |
| tree | 198ead78a98841d7ff41f715e2ea0193a6375a80 | |
| parent | dd851084754b57fdb0b6c4e1168a2289105499d5 (diff) | |
| parent | ec4279053a6434f685246e022be95d2a62f8c608 (diff) | |
Merge tag 'sunxi-dt64-for-4.12' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into next/dt64
Allwinner arm64 DT changes for 4.12
Some patches to enable the PRCM block in the A64
* tag 'sunxi-dt64-for-4.12' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
arm64: allwinner: a64: add R_PIO pinctrl node
arm64: allwinner: a64: add r_ccu node
Signed-off-by: Olof Johansson <olof@lixom.net>
| -rw-r--r-- | arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 1c64ea2d23f9..6bc606b4d74d 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | |||
| @@ -98,6 +98,14 @@ | |||
| 98 | clock-output-names = "osc32k"; | 98 | clock-output-names = "osc32k"; |
| 99 | }; | 99 | }; |
| 100 | 100 | ||
| 101 | iosc: internal-osc-clk { | ||
| 102 | #clock-cells = <0>; | ||
| 103 | compatible = "fixed-clock"; | ||
| 104 | clock-frequency = <16000000>; | ||
| 105 | clock-accuracy = <300000000>; | ||
| 106 | clock-output-names = "iosc"; | ||
| 107 | }; | ||
| 108 | |||
| 101 | psci { | 109 | psci { |
| 102 | compatible = "arm,psci-0.2"; | 110 | compatible = "arm,psci-0.2"; |
| 103 | method = "smc"; | 111 | method = "smc"; |
| @@ -392,5 +400,26 @@ | |||
| 392 | interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, | 400 | interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, |
| 393 | <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; | 401 | <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; |
| 394 | }; | 402 | }; |
| 403 | |||
| 404 | r_ccu: clock@1f01400 { | ||
| 405 | compatible = "allwinner,sun50i-a64-r-ccu"; | ||
| 406 | reg = <0x01f01400 0x100>; | ||
| 407 | clocks = <&osc24M>, <&osc32k>, <&iosc>; | ||
| 408 | clock-names = "hosc", "losc", "iosc"; | ||
| 409 | #clock-cells = <1>; | ||
| 410 | #reset-cells = <1>; | ||
| 411 | }; | ||
| 412 | |||
| 413 | r_pio: pinctrl@01f02c00 { | ||
| 414 | compatible = "allwinner,sun50i-a64-r-pinctrl"; | ||
| 415 | reg = <0x01f02c00 0x400>; | ||
| 416 | interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; | ||
| 417 | clocks = <&r_ccu 3>, <&osc24M>, <&osc32k>; | ||
| 418 | clock-names = "apb", "hosc", "losc"; | ||
| 419 | gpio-controller; | ||
| 420 | #gpio-cells = <3>; | ||
| 421 | interrupt-controller; | ||
| 422 | #interrupt-cells = <3>; | ||
| 423 | }; | ||
| 395 | }; | 424 | }; |
| 396 | }; | 425 | }; |
