2012-09-06 08:08:24 +00:00
|
|
|
/*
|
|
|
|
* Device Tree for the ARM Integrator/CP platform
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
/include/ "integrator.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "ARM Integrator/CP";
|
|
|
|
compatible = "arm,integrator-cp";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
bootargs = "root=/dev/ram0 console=ttyAMA0,38400n8 earlyprintk";
|
|
|
|
};
|
|
|
|
|
2016-08-10 08:38:27 +00:00
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
/*
|
|
|
|
* Since the board has pluggable CPU modules, we
|
|
|
|
* cannot define a proper compatible here. Let the
|
|
|
|
* boot loader fill in the apropriate compatible
|
|
|
|
* string if necessary.
|
|
|
|
*/
|
|
|
|
/* compatible = "arm,arm920t"; */
|
|
|
|
reg = <0>;
|
|
|
|
/*
|
|
|
|
* TBD comment.
|
|
|
|
*/
|
|
|
|
/* kHz uV */
|
|
|
|
operating-points = <50000 0
|
|
|
|
48000 0>;
|
|
|
|
clocks = <&cmcore>;
|
|
|
|
clock-names = "cpu";
|
|
|
|
clock-latency = <1000000>; /* 1 ms */
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-01-10 14:56:05 +00:00
|
|
|
/*
|
|
|
|
* The Integrator/CP overall clocking architecture can be found in
|
|
|
|
* ARM DUI 0184B page 7-28 "Integrator/CP922T system clocks" which
|
|
|
|
* appear to illustrate the layout used in most configurations.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* The codec chrystal operates at 24.576 MHz */
|
|
|
|
xtal_codec: xtal24.576@24.576M {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
clock-frequency = <24576000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* The chrystal is divided by 2 by the codec for the AACI bit clock */
|
|
|
|
aaci_bitclk: aaci_bitclk@12.288M {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-factor-clock";
|
|
|
|
clock-div = <2>;
|
|
|
|
clock-mult = <1>;
|
|
|
|
clocks = <&xtal_codec>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* This is a 25MHz chrystal on the base board */
|
|
|
|
xtal25mhz: xtal25mhz@25M {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
clock-frequency = <25000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* The UART clock is 14.74 MHz divided from 25MHz by an ICS525 */
|
|
|
|
uartclk: uartclk@14.74M {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
clock-frequency = <14745600>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Actually sysclk I think */
|
|
|
|
pclk: pclk@0 {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
clock-frequency = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
core-module@10000000 {
|
|
|
|
/* 24 MHz chrystal on the core module */
|
2016-08-04 14:24:38 +00:00
|
|
|
cm24mhz: cm24mhz@24M {
|
2014-01-10 14:56:05 +00:00
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
clock-frequency = <24000000>;
|
|
|
|
};
|
|
|
|
|
2016-08-04 14:24:38 +00:00
|
|
|
/* Oscillator on the core module, clocks the CPU core */
|
|
|
|
cmcore: cmosc@24M {
|
|
|
|
compatible = "arm,syscon-icst525-integratorcp-cm-core";
|
2014-01-10 14:56:05 +00:00
|
|
|
#clock-cells = <0>;
|
2016-08-04 14:24:38 +00:00
|
|
|
lock-offset = <0x14>;
|
|
|
|
vco-offset = <0x08>;
|
|
|
|
clocks = <&cm24mhz>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Oscillator on the core module, clocks the memory bus */
|
|
|
|
cmmem: cmosc@24M {
|
|
|
|
compatible = "arm,syscon-icst525-integratorcp-cm-mem";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
lock-offset = <0x14>;
|
|
|
|
vco-offset = <0x08>;
|
|
|
|
clocks = <&cm24mhz>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Auxilary oscillator on the core module, clocks the CLCD */
|
|
|
|
auxosc: auxosc@24M {
|
|
|
|
compatible = "arm,syscon-icst525";
|
2014-01-10 14:56:05 +00:00
|
|
|
#clock-cells = <0>;
|
2016-08-04 14:24:38 +00:00
|
|
|
lock-offset = <0x14>;
|
|
|
|
vco-offset = <0x1c>;
|
|
|
|
clocks = <&cm24mhz>;
|
2014-01-10 14:56:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* The KMI clock is the 24 MHz oscillator divided to 8MHz */
|
|
|
|
kmiclk: kmiclk@1M {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-factor-clock";
|
|
|
|
clock-div = <3>;
|
|
|
|
clock-mult = <1>;
|
2016-08-04 14:24:38 +00:00
|
|
|
clocks = <&cm24mhz>;
|
2014-01-10 14:56:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* The timer clock is the 24 MHz oscillator divided to 1MHz */
|
|
|
|
timclk: timclk@1M {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-factor-clock";
|
|
|
|
clock-div = <24>;
|
|
|
|
clock-mult = <1>;
|
2016-08-04 14:24:38 +00:00
|
|
|
clocks = <&cm24mhz>;
|
2014-01-10 14:56:05 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-10-10 16:24:58 +00:00
|
|
|
syscon {
|
2016-08-10 09:38:24 +00:00
|
|
|
compatible = "arm,integrator-cp-syscon", "syscon";
|
2012-11-02 00:20:43 +00:00
|
|
|
reg = <0xcb000000 0x100>;
|
|
|
|
};
|
|
|
|
|
2012-09-06 08:08:24 +00:00
|
|
|
timer0: timer@13000000 {
|
2014-01-10 14:56:05 +00:00
|
|
|
/* TIMER0 runs directly on the 25MHz chrystal */
|
2013-03-13 20:31:12 +00:00
|
|
|
compatible = "arm,integrator-cp-timer";
|
2014-01-10 14:56:05 +00:00
|
|
|
clocks = <&xtal25mhz>;
|
2012-09-06 08:08:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
timer1: timer@13000100 {
|
2013-10-07 13:19:53 +00:00
|
|
|
/* TIMER1 runs @ 1MHz */
|
2013-03-13 20:31:12 +00:00
|
|
|
compatible = "arm,integrator-cp-timer";
|
2014-01-10 14:56:05 +00:00
|
|
|
clocks = <&timclk>;
|
2012-09-06 08:08:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
timer2: timer@13000200 {
|
2013-10-07 13:19:53 +00:00
|
|
|
/* TIMER2 runs @ 1MHz */
|
2013-03-13 20:31:12 +00:00
|
|
|
compatible = "arm,integrator-cp-timer";
|
2014-01-10 14:56:05 +00:00
|
|
|
clocks = <&timclk>;
|
2012-09-06 08:08:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
pic: pic@14000000 {
|
|
|
|
valid-mask = <0x1fc003ff>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cic: cic@10000040 {
|
|
|
|
compatible = "arm,versatile-fpga-irq";
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
interrupt-controller;
|
|
|
|
reg = <0x10000040 0x100>;
|
|
|
|
clear-mask = <0xffffffff>;
|
|
|
|
valid-mask = <0x00000007>;
|
|
|
|
};
|
|
|
|
|
2013-10-04 13:25:32 +00:00
|
|
|
/* The SIC is cascaded off IRQ 26 on the PIC */
|
2012-09-06 08:08:24 +00:00
|
|
|
sic: sic@ca000000 {
|
|
|
|
compatible = "arm,versatile-fpga-irq";
|
2013-10-04 13:25:32 +00:00
|
|
|
interrupt-parent = <&pic>;
|
|
|
|
interrupts = <26>;
|
2012-09-06 08:08:24 +00:00
|
|
|
#interrupt-cells = <1>;
|
|
|
|
interrupt-controller;
|
|
|
|
reg = <0xca000000 0x100>;
|
|
|
|
clear-mask = <0x00000fff>;
|
|
|
|
valid-mask = <0x00000fff>;
|
|
|
|
};
|
2012-09-06 08:08:47 +00:00
|
|
|
|
2012-09-06 08:09:11 +00:00
|
|
|
ethernet@c8000000 {
|
|
|
|
compatible = "smsc,lan91c111";
|
|
|
|
reg = <0xc8000000 0x10>;
|
|
|
|
interrupt-parent = <&pic>;
|
|
|
|
interrupts = <27>;
|
|
|
|
};
|
|
|
|
|
2012-09-06 08:08:47 +00:00
|
|
|
fpga {
|
|
|
|
/*
|
|
|
|
* These PrimeCells are at the same location and using
|
|
|
|
* the same interrupts in all Integrators, but in the CP
|
|
|
|
* slightly newer versions are deployed.
|
|
|
|
*/
|
|
|
|
rtc@15000000 {
|
|
|
|
compatible = "arm,pl031", "arm,primecell";
|
2014-01-10 14:56:05 +00:00
|
|
|
clocks = <&pclk>;
|
|
|
|
clock-names = "apb_pclk";
|
2012-09-06 08:08:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
uart@16000000 {
|
|
|
|
compatible = "arm,pl011", "arm,primecell";
|
2014-01-10 14:56:05 +00:00
|
|
|
clocks = <&uartclk>, <&pclk>;
|
|
|
|
clock-names = "uartclk", "apb_pclk";
|
2012-09-06 08:08:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
uart@17000000 {
|
|
|
|
compatible = "arm,pl011", "arm,primecell";
|
2014-01-10 14:56:05 +00:00
|
|
|
clocks = <&uartclk>, <&pclk>;
|
|
|
|
clock-names = "uartclk", "apb_pclk";
|
2012-09-06 08:08:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
kmi@18000000 {
|
|
|
|
compatible = "arm,pl050", "arm,primecell";
|
2014-01-10 14:56:05 +00:00
|
|
|
clocks = <&kmiclk>, <&pclk>;
|
|
|
|
clock-names = "KMIREFCLK", "apb_pclk";
|
2012-09-06 08:08:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
kmi@19000000 {
|
|
|
|
compatible = "arm,pl050", "arm,primecell";
|
2014-01-10 14:56:05 +00:00
|
|
|
clocks = <&kmiclk>, <&pclk>;
|
|
|
|
clock-names = "KMIREFCLK", "apb_pclk";
|
2012-09-06 08:08:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
* These PrimeCells are only available on the Integrator/CP
|
|
|
|
*/
|
|
|
|
mmc@1c000000 {
|
|
|
|
compatible = "arm,pl180", "arm,primecell";
|
|
|
|
reg = <0x1c000000 0x1000>;
|
|
|
|
interrupts = <23 24>;
|
|
|
|
max-frequency = <515633>;
|
2014-01-10 14:56:05 +00:00
|
|
|
clocks = <&uartclk>, <&pclk>;
|
|
|
|
clock-names = "mclk", "apb_pclk";
|
2012-09-06 08:08:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
aaci@1d000000 {
|
|
|
|
compatible = "arm,pl041", "arm,primecell";
|
|
|
|
reg = <0x1d000000 0x1000>;
|
|
|
|
interrupts = <25>;
|
2014-01-10 14:56:05 +00:00
|
|
|
clocks = <&pclk>;
|
|
|
|
clock-names = "apb_pclk";
|
2012-09-06 08:08:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
clcd@c0000000 {
|
|
|
|
compatible = "arm,pl110", "arm,primecell";
|
|
|
|
reg = <0xC0000000 0x1000>;
|
|
|
|
interrupts = <22>;
|
2014-01-10 14:56:05 +00:00
|
|
|
clocks = <&auxosc>, <&pclk>;
|
2016-08-29 09:30:18 +00:00
|
|
|
clock-names = "clcdclk", "apb_pclk";
|
|
|
|
|
|
|
|
port {
|
|
|
|
/*
|
|
|
|
* The VGA connected is implemented with a
|
|
|
|
* THS8134A triple DAC that can be run in 24bit
|
|
|
|
* or 16bit RGB mode.
|
|
|
|
*/
|
|
|
|
clcd_pads: endpoint {
|
|
|
|
remote-endpoint = <&clcd_panel>;
|
|
|
|
arm,pl11x,tft-r0g0b0-pads = <1 7 13>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
panel {
|
|
|
|
compatible = "panel-dpi";
|
|
|
|
|
|
|
|
port {
|
|
|
|
clcd_panel: endpoint {
|
|
|
|
remote-endpoint = <&clcd_pads>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Standard 640x480 VGA timings */
|
|
|
|
panel-timing {
|
|
|
|
clock-frequency = <25175000>;
|
|
|
|
hactive = <640>;
|
|
|
|
hback-porch = <48>;
|
|
|
|
hfront-porch = <16>;
|
|
|
|
hsync-len = <96>;
|
|
|
|
vactive = <480>;
|
|
|
|
vback-porch = <33>;
|
|
|
|
vfront-porch = <10>;
|
|
|
|
vsync-len = <2>;
|
|
|
|
};
|
|
|
|
};
|
2012-09-06 08:08:47 +00:00
|
|
|
};
|
|
|
|
};
|
2012-09-06 08:08:24 +00:00
|
|
|
};
|