Commit c53cb8d6 authored by Olof Johansson's avatar Olof Johansson

Merge tag 'sunxi-dt-for-3.14' of https://github.com/mripard/linux into next/dt

From Maxime Ripard:
Allwinner sunXi DT Additions for 3.14

Various DT related patches, but mostly:
  - Support for the Olimex A13-olinuxino-micro
  - Added the needed IP in the A31 for the HS timer support and SMP bringup
  - A10 and A20 RTC

* tag 'sunxi-dt-for-3.14' of https://github.com/mripard/linux:
  ARM: sun6i: dt: Add IP needed to bring up the additional cores
  ARM: dts: sun5i: Add new sun5i-a13-olinuxino-micro board
  ARM: sun6i: Add the reset controller to the DTSI
  ARM: sunxi: dt: add EMAC aliases
  ARM: dts: sun4i/sun7i: add RTC node
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parents dee4bd4c 81ee429f
...@@ -263,6 +263,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += \ ...@@ -263,6 +263,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += \
sun4i-a10-hackberry.dtb \ sun4i-a10-hackberry.dtb \
sun5i-a10s-olinuxino-micro.dtb \ sun5i-a10s-olinuxino-micro.dtb \
sun5i-a13-olinuxino.dtb \ sun5i-a13-olinuxino.dtb \
sun5i-a13-olinuxino-micro.dtb \
sun6i-a31-colombus.dtb \ sun6i-a31-colombus.dtb \
sun7i-a20-cubieboard2.dtb \ sun7i-a20-cubieboard2.dtb \
sun7i-a20-cubietruck.dtb \ sun7i-a20-cubietruck.dtb \
......
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
/ { / {
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
aliases {
ethernet0 = &emac;
};
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -266,6 +270,12 @@ wdt: watchdog@01c20c90 { ...@@ -266,6 +270,12 @@ wdt: watchdog@01c20c90 {
reg = <0x01c20c90 0x10>; reg = <0x01c20c90 0x10>;
}; };
rtc: rtc@01c20d00 {
compatible = "allwinner,sun4i-rtc";
reg = <0x01c20d00 0x20>;
interrupts = <24>;
};
sid: eeprom@01c23800 { sid: eeprom@01c23800 {
compatible = "allwinner,sun4i-sid"; compatible = "allwinner,sun4i-sid";
reg = <0x01c23800 0x10>; reg = <0x01c23800 0x10>;
......
...@@ -16,6 +16,10 @@ ...@@ -16,6 +16,10 @@
/ { / {
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
aliases {
ethernet0 = &emac;
};
cpus { cpus {
cpu@0 { cpu@0 {
compatible = "arm,cortex-a8"; compatible = "arm,cortex-a8";
......
/*
* Copyright 2012 Maxime Ripard
* Copyright 2013 Hans de Goede <hdegoede@redhat.com>
*
* Maxime Ripard <maxime.ripard@free-electrons.com>
*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gpl-license.html
* http://www.gnu.org/copyleft/gpl.html
*/
/dts-v1/;
/include/ "sun5i-a13.dtsi"
/ {
model = "Olimex A13-Olinuxino Micro";
compatible = "olimex,a13-olinuxino-micro", "allwinner,sun5i-a13";
soc@01c00000 {
pinctrl@01c20800 {
led_pins_olinuxinom: led_pins@0 {
allwinner,pins = "PG9";
allwinner,function = "gpio_out";
allwinner,drive = <1>;
allwinner,pull = <0>;
};
};
uart1: serial@01c28400 {
pinctrl-names = "default";
pinctrl-0 = <&uart1_pins_b>;
status = "okay";
};
i2c0: i2c@01c2ac00 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins_a>;
status = "okay";
};
i2c1: i2c@01c2b000 {
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins_a>;
status = "okay";
};
i2c2: i2c@01c2b400 {
pinctrl-names = "default";
pinctrl-0 = <&i2c2_pins_a>;
status = "okay";
};
};
leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&led_pins_olinuxinom>;
power {
label = "a13-olinuxino-micro:green:power";
gpios = <&pio 6 9 0>;
default-state = "on";
};
};
};
...@@ -209,6 +209,24 @@ uart0_pins_a: uart0@0 { ...@@ -209,6 +209,24 @@ uart0_pins_a: uart0@0 {
}; };
}; };
ahb1_rst: reset@01c202c0 {
#reset-cells = <1>;
compatible = "allwinner,sun6i-a31-ahb1-reset";
reg = <0x01c202c0 0xc>;
};
apb1_rst: reset@01c202d0 {
#reset-cells = <1>;
compatible = "allwinner,sun6i-a31-clock-reset";
reg = <0x01c202d0 0x4>;
};
apb2_rst: reset@01c202d8 {
#reset-cells = <1>;
compatible = "allwinner,sun6i-a31-clock-reset";
reg = <0x01c202d8 0x4>;
};
timer@01c20c00 { timer@01c20c00 {
compatible = "allwinner,sun4i-timer"; compatible = "allwinner,sun4i-timer";
reg = <0x01c20c00 0xa0>; reg = <0x01c20c00 0xa0>;
...@@ -232,6 +250,7 @@ uart0: serial@01c28000 { ...@@ -232,6 +250,7 @@ uart0: serial@01c28000 {
reg-shift = <2>; reg-shift = <2>;
reg-io-width = <4>; reg-io-width = <4>;
clocks = <&apb2_gates 16>; clocks = <&apb2_gates 16>;
resets = <&apb2_rst 16>;
status = "disabled"; status = "disabled";
}; };
...@@ -242,6 +261,7 @@ uart1: serial@01c28400 { ...@@ -242,6 +261,7 @@ uart1: serial@01c28400 {
reg-shift = <2>; reg-shift = <2>;
reg-io-width = <4>; reg-io-width = <4>;
clocks = <&apb2_gates 17>; clocks = <&apb2_gates 17>;
resets = <&apb2_rst 17>;
status = "disabled"; status = "disabled";
}; };
...@@ -252,6 +272,7 @@ uart2: serial@01c28800 { ...@@ -252,6 +272,7 @@ uart2: serial@01c28800 {
reg-shift = <2>; reg-shift = <2>;
reg-io-width = <4>; reg-io-width = <4>;
clocks = <&apb2_gates 18>; clocks = <&apb2_gates 18>;
resets = <&apb2_rst 18>;
status = "disabled"; status = "disabled";
}; };
...@@ -262,6 +283,7 @@ uart3: serial@01c28c00 { ...@@ -262,6 +283,7 @@ uart3: serial@01c28c00 {
reg-shift = <2>; reg-shift = <2>;
reg-io-width = <4>; reg-io-width = <4>;
clocks = <&apb2_gates 19>; clocks = <&apb2_gates 19>;
resets = <&apb2_rst 19>;
status = "disabled"; status = "disabled";
}; };
...@@ -272,6 +294,7 @@ uart4: serial@01c29000 { ...@@ -272,6 +294,7 @@ uart4: serial@01c29000 {
reg-shift = <2>; reg-shift = <2>;
reg-io-width = <4>; reg-io-width = <4>;
clocks = <&apb2_gates 20>; clocks = <&apb2_gates 20>;
resets = <&apb2_rst 20>;
status = "disabled"; status = "disabled";
}; };
...@@ -282,6 +305,7 @@ uart5: serial@01c29400 { ...@@ -282,6 +305,7 @@ uart5: serial@01c29400 {
reg-shift = <2>; reg-shift = <2>;
reg-io-width = <4>; reg-io-width = <4>;
clocks = <&apb2_gates 21>; clocks = <&apb2_gates 21>;
resets = <&apb2_rst 21>;
status = "disabled"; status = "disabled";
}; };
...@@ -295,5 +319,15 @@ gic: interrupt-controller@01c81000 { ...@@ -295,5 +319,15 @@ gic: interrupt-controller@01c81000 {
#interrupt-cells = <3>; #interrupt-cells = <3>;
interrupts = <1 9 0xf04>; interrupts = <1 9 0xf04>;
}; };
cpucfg@01f01c00 {
compatible = "allwinner,sun6i-a31-cpuconfig";
reg = <0x01f01c00 0x300>;
};
prcm@01f01c00 {
compatible = "allwinner,sun6i-a31-prcm";
reg = <0x01f01400 0x200>;
};
}; };
}; };
...@@ -16,6 +16,10 @@ ...@@ -16,6 +16,10 @@
/ { / {
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
aliases {
ethernet0 = &emac;
};
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -265,6 +269,12 @@ wdt: watchdog@01c20c90 { ...@@ -265,6 +269,12 @@ wdt: watchdog@01c20c90 {
reg = <0x01c20c90 0x10>; reg = <0x01c20c90 0x10>;
}; };
rtc: rtc@01c20d00 {
compatible = "allwinner,sun7i-a20-rtc";
reg = <0x01c20d00 0x20>;
interrupts = <0 24 1>;
};
sid: eeprom@01c23800 { sid: eeprom@01c23800 {
compatible = "allwinner,sun7i-a20-sid"; compatible = "allwinner,sun7i-a20-sid";
reg = <0x01c23800 0x200>; reg = <0x01c23800 0x200>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment