![Viresh Kumar](/assets/img/avatar_default.png)
All SPEAr SoC's use ST's Timer module. This patch adds device tree probing capability for that. Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
151 lines
3.1 KiB
Plaintext
151 lines
3.1 KiB
Plaintext
/*
|
|
* DTS file for all SPEAr3xx SoCs
|
|
*
|
|
* Copyright 2012 Viresh Kumar <viresh.kumar@st.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
|
|
*/
|
|
|
|
/include/ "skeleton.dtsi"
|
|
|
|
/ {
|
|
interrupt-parent = <&vic>;
|
|
|
|
cpus {
|
|
cpu@0 {
|
|
compatible = "arm,arm926ejs";
|
|
};
|
|
};
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0 0x40000000>;
|
|
};
|
|
|
|
ahb {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "simple-bus";
|
|
ranges = <0xd0000000 0xd0000000 0x30000000>;
|
|
|
|
vic: interrupt-controller@f1100000 {
|
|
compatible = "arm,pl190-vic";
|
|
interrupt-controller;
|
|
reg = <0xf1100000 0x1000>;
|
|
#interrupt-cells = <1>;
|
|
};
|
|
|
|
dma@fc400000 {
|
|
compatible = "arm,pl080", "arm,primecell";
|
|
reg = <0xfc400000 0x1000>;
|
|
interrupt-parent = <&vic>;
|
|
interrupts = <8>;
|
|
status = "disabled";
|
|
};
|
|
|
|
gmac: eth@e0800000 {
|
|
compatible = "st,spear600-gmac";
|
|
reg = <0xe0800000 0x8000>;
|
|
interrupts = <23 22>;
|
|
interrupt-names = "macirq", "eth_wake_irq";
|
|
status = "disabled";
|
|
};
|
|
|
|
smi: flash@fc000000 {
|
|
compatible = "st,spear600-smi";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
reg = <0xfc000000 0x1000>;
|
|
interrupts = <9>;
|
|
status = "disabled";
|
|
};
|
|
|
|
spi0: spi@d0100000 {
|
|
compatible = "arm,pl022", "arm,primecell";
|
|
reg = <0xd0100000 0x1000>;
|
|
interrupts = <20>;
|
|
status = "disabled";
|
|
};
|
|
|
|
ehci@e1800000 {
|
|
compatible = "st,spear600-ehci", "usb-ehci";
|
|
reg = <0xe1800000 0x1000>;
|
|
interrupts = <26>;
|
|
status = "disabled";
|
|
};
|
|
|
|
ohci@e1900000 {
|
|
compatible = "st,spear600-ohci", "usb-ohci";
|
|
reg = <0xe1900000 0x1000>;
|
|
interrupts = <25>;
|
|
status = "disabled";
|
|
};
|
|
|
|
ohci@e2100000 {
|
|
compatible = "st,spear600-ohci", "usb-ohci";
|
|
reg = <0xe2100000 0x1000>;
|
|
interrupts = <27>;
|
|
status = "disabled";
|
|
};
|
|
|
|
apb {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "simple-bus";
|
|
ranges = <0xd0000000 0xd0000000 0x30000000>;
|
|
|
|
gpio0: gpio@fc980000 {
|
|
compatible = "arm,pl061", "arm,primecell";
|
|
reg = <0xfc980000 0x1000>;
|
|
interrupts = <11>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
status = "disabled";
|
|
};
|
|
|
|
i2c0: i2c@d0180000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "snps,designware-i2c";
|
|
reg = <0xd0180000 0x1000>;
|
|
interrupts = <21>;
|
|
status = "disabled";
|
|
};
|
|
|
|
rtc@fc900000 {
|
|
compatible = "st,spear-rtc";
|
|
reg = <0xfc900000 0x1000>;
|
|
interrupts = <10>;
|
|
status = "disabled";
|
|
};
|
|
|
|
serial@d0000000 {
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
reg = <0xd0000000 0x1000>;
|
|
interrupts = <19>;
|
|
status = "disabled";
|
|
};
|
|
|
|
wdt@fc880000 {
|
|
compatible = "arm,sp805", "arm,primecell";
|
|
reg = <0xfc880000 0x1000>;
|
|
interrupts = <12>;
|
|
status = "disabled";
|
|
};
|
|
|
|
timer@f0000000 {
|
|
compatible = "st,spear-timer";
|
|
reg = <0xf0000000 0x400>;
|
|
interrupts = <2>;
|
|
};
|
|
};
|
|
};
|
|
};
|