2019-05-27 13:55:08 +07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2012-03-23 01:47:43 +07:00
|
|
|
/*
|
|
|
|
* DTS file for SPEAr320 SoC
|
|
|
|
*
|
2015-07-18 06:23:50 +07:00
|
|
|
* Copyright 2012 Viresh Kumar <vireshk@kernel.org>
|
2012-03-23 01:47:43 +07:00
|
|
|
*/
|
|
|
|
|
|
|
|
/include/ "spear3xx.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
ahb {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "simple-bus";
|
2012-03-29 10:00:19 +07:00
|
|
|
ranges = <0x40000000 0x40000000 0x80000000
|
2012-03-23 01:47:43 +07:00
|
|
|
0xd0000000 0xd0000000 0x30000000>;
|
|
|
|
|
2012-10-27 16:51:39 +07:00
|
|
|
pinmux: pinmux@b3000000 {
|
2012-03-29 10:00:19 +07:00
|
|
|
compatible = "st,spear320-pinmux";
|
|
|
|
reg = <0xb3000000 0x1000>;
|
2013-02-17 18:42:47 +07:00
|
|
|
#gpio-range-cells = <3>;
|
2012-03-29 10:00:19 +07:00
|
|
|
};
|
|
|
|
|
2012-03-23 01:47:43 +07:00
|
|
|
clcd@90000000 {
|
2012-07-05 10:51:47 +07:00
|
|
|
compatible = "arm,pl110", "arm,primecell";
|
2012-03-23 01:47:43 +07:00
|
|
|
reg = <0x90000000 0x1000>;
|
2012-08-03 17:30:18 +07:00
|
|
|
interrupts = <8>;
|
|
|
|
interrupt-parent = <&shirq>;
|
2012-03-23 01:47:43 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
fsmc: flash@4c000000 {
|
|
|
|
compatible = "st,spear600-fsmc-nand";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
reg = <0x4c000000 0x1000 /* FSMC Register */
|
2012-10-04 20:14:16 +07:00
|
|
|
0x50000000 0x0010 /* NAND Base DATA */
|
|
|
|
0x50020000 0x0010 /* NAND Base ADDR */
|
|
|
|
0x50010000 0x0010>; /* NAND Base CMD */
|
|
|
|
reg-names = "fsmc_regs", "nand_data", "nand_addr", "nand_cmd";
|
2012-03-23 01:47:43 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
sdhci@70000000 {
|
|
|
|
compatible = "st,sdhci-spear";
|
|
|
|
reg = <0x70000000 0x100>;
|
2012-08-03 17:30:18 +07:00
|
|
|
interrupts = <10>;
|
|
|
|
interrupt-parent = <&shirq>;
|
2012-03-23 01:47:43 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2012-08-03 17:30:18 +07:00
|
|
|
shirq: interrupt-controller@0xb3000000 {
|
|
|
|
compatible = "st,spear320-shirq";
|
|
|
|
reg = <0xb3000000 0x1000>;
|
|
|
|
interrupts = <30 28 29 1>;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
interrupt-controller;
|
|
|
|
};
|
|
|
|
|
2012-03-23 01:47:43 +07:00
|
|
|
spi1: spi@a5000000 {
|
|
|
|
compatible = "arm,pl022", "arm,primecell";
|
|
|
|
reg = <0xa5000000 0x1000>;
|
2012-08-03 17:30:18 +07:00
|
|
|
interrupts = <15>;
|
|
|
|
interrupt-parent = <&shirq>;
|
2012-11-10 19:01:01 +07:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2012-03-23 01:47:43 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
spi2: spi@a6000000 {
|
|
|
|
compatible = "arm,pl022", "arm,primecell";
|
|
|
|
reg = <0xa6000000 0x1000>;
|
2012-08-03 17:30:18 +07:00
|
|
|
interrupts = <16>;
|
|
|
|
interrupt-parent = <&shirq>;
|
2012-11-10 19:01:01 +07:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2012-03-23 01:47:43 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2012-11-10 19:01:01 +07:00
|
|
|
pwm: pwm@a8000000 {
|
|
|
|
compatible ="st,spear-pwm";
|
|
|
|
reg = <0xa8000000 0x1000>;
|
|
|
|
#pwm-cells = <2>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2012-03-23 01:47:43 +07:00
|
|
|
apb {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "simple-bus";
|
2012-07-05 10:51:47 +07:00
|
|
|
ranges = <0xa0000000 0xa0000000 0x20000000
|
2012-03-23 01:47:43 +07:00
|
|
|
0xd0000000 0xd0000000 0x30000000>;
|
|
|
|
|
|
|
|
i2c1: i2c@a7000000 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
compatible = "snps,designware-i2c";
|
|
|
|
reg = <0xa7000000 0x1000>;
|
2012-08-03 17:30:18 +07:00
|
|
|
interrupts = <21>;
|
|
|
|
interrupt-parent = <&shirq>;
|
2012-03-23 01:47:43 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
serial@a3000000 {
|
|
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
|
|
reg = <0xa3000000 0x1000>;
|
2012-08-03 17:30:18 +07:00
|
|
|
interrupts = <13>;
|
|
|
|
interrupt-parent = <&shirq>;
|
2012-03-23 01:47:43 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
serial@a4000000 {
|
|
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
|
|
reg = <0xa4000000 0x1000>;
|
2012-08-03 17:30:18 +07:00
|
|
|
interrupts = <14>;
|
|
|
|
interrupt-parent = <&shirq>;
|
2012-03-23 01:47:43 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
2012-10-27 16:51:39 +07:00
|
|
|
|
|
|
|
gpiopinctrl: gpio@b3000000 {
|
|
|
|
compatible = "st,spear-plgpio";
|
|
|
|
reg = <0xb3000000 0x1000>;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
interrupt-controller;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
2013-02-17 18:42:47 +07:00
|
|
|
gpio-ranges = <&pinmux 0 0 102>;
|
2012-10-27 16:51:39 +07:00
|
|
|
status = "disabled";
|
|
|
|
|
|
|
|
st-plgpio,ngpio = <102>;
|
|
|
|
st-plgpio,enb-reg = <0x24>;
|
|
|
|
st-plgpio,wdata-reg = <0x34>;
|
|
|
|
st-plgpio,dir-reg = <0x44>;
|
|
|
|
st-plgpio,ie-reg = <0x64>;
|
|
|
|
st-plgpio,rdata-reg = <0x54>;
|
|
|
|
st-plgpio,mis-reg = <0x84>;
|
|
|
|
st-plgpio,eit-reg = <0x94>;
|
|
|
|
};
|
2012-03-23 01:47:43 +07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|