mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
68 lines
1.8 KiB
Diff
68 lines
1.8 KiB
Diff
|
From f76e72a20510fa17934c82bed5e23f7c4a4f2931 Mon Sep 17 00:00:00 2001
|
||
|
From: Maxime Ripard <maxime.ripard@free-electrons.com>
|
||
|
Date: Sat, 22 Feb 2014 22:35:56 +0100
|
||
|
Subject: [PATCH] ARM: dt: sun5i: Add A10s SPI controller nodes
|
||
|
|
||
|
The A10s has 3 SPI controllers compatible with the one found in the A10. Add
|
||
|
them in the DT.
|
||
|
|
||
|
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
||
|
---
|
||
|
arch/arm/boot/dts/sun5i-a10s.dtsi | 33 +++++++++++++++++++++++++++++++++
|
||
|
1 file changed, 33 insertions(+)
|
||
|
|
||
|
diff --git a/arch/arm/boot/dts/sun5i-a10s.dtsi b/arch/arm/boot/dts/sun5i-a10s.dtsi
|
||
|
index e5064dc..2dedb7c 100644
|
||
|
--- a/arch/arm/boot/dts/sun5i-a10s.dtsi
|
||
|
+++ b/arch/arm/boot/dts/sun5i-a10s.dtsi
|
||
|
@@ -292,6 +292,28 @@
|
||
|
#size-cells = <1>;
|
||
|
ranges;
|
||
|
|
||
|
+ spi0: spi@01c05000 {
|
||
|
+ compatible = "allwinner,sun4i-a10-spi";
|
||
|
+ reg = <0x01c05000 0x1000>;
|
||
|
+ interrupts = <10>;
|
||
|
+ clocks = <&ahb_gates 20>, <&spi0_clk>;
|
||
|
+ clock-names = "ahb", "mod";
|
||
|
+ status = "disabled";
|
||
|
+ #address-cells = <1>;
|
||
|
+ #size-cells = <0>;
|
||
|
+ };
|
||
|
+
|
||
|
+ spi1: spi@01c06000 {
|
||
|
+ compatible = "allwinner,sun4i-a10-spi";
|
||
|
+ reg = <0x01c06000 0x1000>;
|
||
|
+ interrupts = <11>;
|
||
|
+ clocks = <&ahb_gates 21>, <&spi1_clk>;
|
||
|
+ clock-names = "ahb", "mod";
|
||
|
+ status = "disabled";
|
||
|
+ #address-cells = <1>;
|
||
|
+ #size-cells = <0>;
|
||
|
+ };
|
||
|
+
|
||
|
emac: ethernet@01c0b000 {
|
||
|
compatible = "allwinner,sun4i-a10-emac";
|
||
|
reg = <0x01c0b000 0x1000>;
|
||
|
@@ -373,6 +395,17 @@
|
||
|
status = "disabled";
|
||
|
};
|
||
|
|
||
|
+ spi2: spi@01c17000 {
|
||
|
+ compatible = "allwinner,sun4i-a10-spi";
|
||
|
+ reg = <0x01c17000 0x1000>;
|
||
|
+ interrupts = <12>;
|
||
|
+ clocks = <&ahb_gates 22>, <&spi2_clk>;
|
||
|
+ clock-names = "ahb", "mod";
|
||
|
+ status = "disabled";
|
||
|
+ #address-cells = <1>;
|
||
|
+ #size-cells = <0>;
|
||
|
+ };
|
||
|
+
|
||
|
intc: interrupt-controller@01c20400 {
|
||
|
compatible = "allwinner,sun4i-ic";
|
||
|
reg = <0x01c20400 0x400>;
|
||
|
--
|
||
|
1.8.5.5
|
||
|
|