2012-08-03 08:54:16 +00:00
|
|
|
/*
|
|
|
|
* wm8505.dtsi - Device tree file for Wondermedia WM8505 SoC
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
|
|
|
|
*
|
|
|
|
* Licensed under GPLv2 or later
|
|
|
|
*/
|
|
|
|
|
|
|
|
/include/ "skeleton.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "wm,wm8505";
|
|
|
|
|
|
|
|
cpus {
|
2013-04-22 22:33:44 +00:00
|
|
|
#address-cells = <0>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,arm926ej-s";
|
2012-08-03 08:54:16 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-04-23 02:23:26 +00:00
|
|
|
aliases {
|
|
|
|
serial0 = &uart0;
|
|
|
|
serial1 = &uart1;
|
|
|
|
serial2 = &uart2;
|
|
|
|
serial3 = &uart3;
|
|
|
|
serial4 = &uart4;
|
|
|
|
serial5 = &uart5;
|
|
|
|
};
|
|
|
|
|
2012-08-03 08:54:16 +00:00
|
|
|
soc {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "simple-bus";
|
|
|
|
ranges;
|
|
|
|
interrupt-parent = <&intc0>;
|
|
|
|
|
|
|
|
intc0: interrupt-controller@d8140000 {
|
|
|
|
compatible = "via,vt8500-intc";
|
|
|
|
interrupt-controller;
|
|
|
|
reg = <0xd8140000 0x10000>;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Secondary IC cascaded to intc0 */
|
|
|
|
intc1: interrupt-controller@d8150000 {
|
|
|
|
compatible = "via,vt8500-intc";
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
reg = <0xD8150000 0x10000>;
|
|
|
|
interrupts = <56 57 58 59 60 61 62 63>;
|
|
|
|
};
|
|
|
|
|
2013-02-19 20:52:23 +00:00
|
|
|
pinctrl: pinctrl@d8110000 {
|
|
|
|
compatible = "wm,wm8505-pinctrl";
|
2012-08-03 08:54:16 +00:00
|
|
|
reg = <0xd8110000 0x10000>;
|
2013-02-19 20:52:23 +00:00
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
2012-08-03 08:54:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
pmc@d8130000 {
|
|
|
|
compatible = "via,vt8500-pmc";
|
|
|
|
reg = <0xd8130000 0x1000>;
|
|
|
|
clocks {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
ref24: ref24M {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
clock-frequency = <24000000>;
|
|
|
|
};
|
2013-01-18 02:05:31 +00:00
|
|
|
|
2013-04-11 19:00:29 +00:00
|
|
|
ref25: ref25M {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
clock-frequency = <25000000>;
|
|
|
|
};
|
|
|
|
|
2013-05-10 05:35:11 +00:00
|
|
|
plla: plla {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "via,vt8500-pll-clock";
|
|
|
|
clocks = <&ref25>;
|
|
|
|
reg = <0x200>;
|
|
|
|
};
|
|
|
|
|
2013-04-11 19:00:29 +00:00
|
|
|
pllb: pllb {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "via,vt8500-pll-clock";
|
|
|
|
clocks = <&ref25>;
|
|
|
|
reg = <0x204>;
|
|
|
|
};
|
|
|
|
|
2013-05-10 05:35:11 +00:00
|
|
|
pllc: pllc {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "via,vt8500-pll-clock";
|
|
|
|
clocks = <&ref25>;
|
|
|
|
reg = <0x208>;
|
|
|
|
};
|
|
|
|
|
|
|
|
plld: plld {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "via,vt8500-pll-clock";
|
|
|
|
clocks = <&ref25>;
|
|
|
|
reg = <0x20c>;
|
|
|
|
};
|
|
|
|
|
2013-05-10 05:44:58 +00:00
|
|
|
clkarm: arm {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "via,vt8500-device-clock";
|
|
|
|
clocks = <&plla>;
|
|
|
|
divisor-reg = <0x300>;
|
|
|
|
};
|
|
|
|
|
|
|
|
clkahb: ahb {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "via,vt8500-device-clock";
|
|
|
|
clocks = <&pllb>;
|
|
|
|
divisor-reg = <0x304>;
|
|
|
|
};
|
|
|
|
|
|
|
|
clkapb: apb {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "via,vt8500-device-clock";
|
|
|
|
clocks = <&pllb>;
|
|
|
|
divisor-reg = <0x350>;
|
|
|
|
};
|
|
|
|
|
|
|
|
clkddr: ddr {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "via,vt8500-device-clock";
|
|
|
|
clocks = <&plld>;
|
|
|
|
divisor-reg = <0x310>;
|
|
|
|
};
|
|
|
|
|
2013-01-18 02:05:31 +00:00
|
|
|
clkuart0: uart0 {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "via,vt8500-device-clock";
|
|
|
|
clocks = <&ref24>;
|
|
|
|
enable-reg = <0x250>;
|
|
|
|
enable-bit = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
clkuart1: uart1 {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "via,vt8500-device-clock";
|
|
|
|
clocks = <&ref24>;
|
|
|
|
enable-reg = <0x250>;
|
|
|
|
enable-bit = <2>;
|
|
|
|
};
|
|
|
|
|
|
|
|
clkuart2: uart2 {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "via,vt8500-device-clock";
|
|
|
|
clocks = <&ref24>;
|
|
|
|
enable-reg = <0x250>;
|
|
|
|
enable-bit = <3>;
|
|
|
|
};
|
|
|
|
|
|
|
|
clkuart3: uart3 {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "via,vt8500-device-clock";
|
|
|
|
clocks = <&ref24>;
|
|
|
|
enable-reg = <0x250>;
|
|
|
|
enable-bit = <4>;
|
|
|
|
};
|
|
|
|
|
|
|
|
clkuart4: uart4 {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "via,vt8500-device-clock";
|
|
|
|
clocks = <&ref24>;
|
|
|
|
enable-reg = <0x250>;
|
|
|
|
enable-bit = <22>;
|
|
|
|
};
|
|
|
|
|
|
|
|
clkuart5: uart5 {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "via,vt8500-device-clock";
|
|
|
|
clocks = <&ref24>;
|
|
|
|
enable-reg = <0x250>;
|
|
|
|
enable-bit = <23>;
|
|
|
|
};
|
2013-04-11 19:00:29 +00:00
|
|
|
|
|
|
|
clksdhc: sdhc {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "via,vt8500-device-clock";
|
|
|
|
clocks = <&pllb>;
|
|
|
|
divisor-reg = <0x328>;
|
|
|
|
divisor-mask = <0x3f>;
|
|
|
|
enable-reg = <0x254>;
|
|
|
|
enable-bit = <18>;
|
|
|
|
};
|
2012-08-03 08:54:16 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
timer@d8130100 {
|
|
|
|
compatible = "via,vt8500-timer";
|
|
|
|
reg = <0xd8130100 0x28>;
|
|
|
|
interrupts = <36>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ehci@d8007100 {
|
|
|
|
compatible = "via,vt8500-ehci";
|
|
|
|
reg = <0xd8007100 0x200>;
|
2012-10-13 04:18:02 +00:00
|
|
|
interrupts = <1>;
|
2012-08-03 08:54:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
uhci@d8007300 {
|
|
|
|
compatible = "platform-uhci";
|
|
|
|
reg = <0xd8007300 0x200>;
|
2012-10-13 04:18:02 +00:00
|
|
|
interrupts = <0>;
|
2012-08-03 08:54:16 +00:00
|
|
|
};
|
|
|
|
|
2013-04-02 18:20:38 +00:00
|
|
|
fb: fb@d8050800 {
|
2012-08-03 08:54:16 +00:00
|
|
|
compatible = "wm,wm8505-fb";
|
|
|
|
reg = <0xd8050800 0x200>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ge_rops@d8050400 {
|
|
|
|
compatible = "wm,prizm-ge-rops";
|
|
|
|
reg = <0xd8050400 0x100>;
|
|
|
|
};
|
|
|
|
|
2013-04-23 02:23:26 +00:00
|
|
|
uart0: serial@d8200000 {
|
2012-08-03 08:54:16 +00:00
|
|
|
compatible = "via,vt8500-uart";
|
|
|
|
reg = <0xd8200000 0x1040>;
|
|
|
|
interrupts = <32>;
|
2013-01-18 02:05:31 +00:00
|
|
|
clocks = <&clkuart0>;
|
2013-04-23 02:23:26 +00:00
|
|
|
status = "disabled";
|
2012-08-03 08:54:16 +00:00
|
|
|
};
|
|
|
|
|
2013-04-23 02:23:26 +00:00
|
|
|
uart1: serial@d82b0000 {
|
2012-08-03 08:54:16 +00:00
|
|
|
compatible = "via,vt8500-uart";
|
|
|
|
reg = <0xd82b0000 0x1040>;
|
|
|
|
interrupts = <33>;
|
2013-01-18 02:05:31 +00:00
|
|
|
clocks = <&clkuart1>;
|
2013-04-23 02:23:26 +00:00
|
|
|
status = "disabled";
|
2012-08-03 08:54:16 +00:00
|
|
|
};
|
|
|
|
|
2013-04-23 02:23:26 +00:00
|
|
|
uart2: serial@d8210000 {
|
2012-08-03 08:54:16 +00:00
|
|
|
compatible = "via,vt8500-uart";
|
|
|
|
reg = <0xd8210000 0x1040>;
|
|
|
|
interrupts = <47>;
|
2013-01-18 02:05:31 +00:00
|
|
|
clocks = <&clkuart2>;
|
2013-04-23 02:23:26 +00:00
|
|
|
status = "disabled";
|
2012-08-03 08:54:16 +00:00
|
|
|
};
|
|
|
|
|
2013-04-23 02:23:26 +00:00
|
|
|
uart3: serial@d82c0000 {
|
2012-08-03 08:54:16 +00:00
|
|
|
compatible = "via,vt8500-uart";
|
|
|
|
reg = <0xd82c0000 0x1040>;
|
|
|
|
interrupts = <50>;
|
2013-01-18 02:05:31 +00:00
|
|
|
clocks = <&clkuart3>;
|
2013-04-23 02:23:26 +00:00
|
|
|
status = "disabled";
|
2012-08-03 08:54:16 +00:00
|
|
|
};
|
|
|
|
|
2013-04-23 02:23:26 +00:00
|
|
|
uart4: serial@d8370000 {
|
2012-08-03 08:54:16 +00:00
|
|
|
compatible = "via,vt8500-uart";
|
|
|
|
reg = <0xd8370000 0x1040>;
|
|
|
|
interrupts = <31>;
|
2013-01-18 02:05:31 +00:00
|
|
|
clocks = <&clkuart4>;
|
2013-04-23 02:23:26 +00:00
|
|
|
status = "disabled";
|
2012-08-03 08:54:16 +00:00
|
|
|
};
|
|
|
|
|
2013-04-23 02:23:26 +00:00
|
|
|
uart5: serial@d8380000 {
|
2012-08-03 08:54:16 +00:00
|
|
|
compatible = "via,vt8500-uart";
|
|
|
|
reg = <0xd8380000 0x1040>;
|
|
|
|
interrupts = <30>;
|
2013-01-18 02:05:31 +00:00
|
|
|
clocks = <&clkuart5>;
|
2013-04-23 02:23:26 +00:00
|
|
|
status = "disabled";
|
2012-08-03 08:54:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
rtc@d8100000 {
|
|
|
|
compatible = "via,vt8500-rtc";
|
|
|
|
reg = <0xd8100000 0x10000>;
|
|
|
|
interrupts = <48>;
|
|
|
|
};
|
2013-04-11 19:00:29 +00:00
|
|
|
|
|
|
|
sdhc@d800a000 {
|
|
|
|
compatible = "wm,wm8505-sdhc";
|
|
|
|
reg = <0xd800a000 0x1000>;
|
|
|
|
interrupts = <20 21>;
|
|
|
|
clocks = <&clksdhc>;
|
|
|
|
bus-width = <4>;
|
|
|
|
};
|
2012-08-03 08:54:16 +00:00
|
|
|
};
|
|
|
|
};
|