forked from luck/tmp_suning_uos_patched
4ddb1c2957
This patch adds plgpio nodes in SPEAr DT files. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
83 lines
1.8 KiB
Plaintext
83 lines
1.8 KiB
Plaintext
/*
|
|
* DTS file for all SPEAr1340 SoCs
|
|
*
|
|
* Copyright 2012 Viresh Kumar <viresh.linux@gmail.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/ "spear13xx.dtsi"
|
|
|
|
/ {
|
|
compatible = "st,spear1340";
|
|
|
|
ahb {
|
|
ahci@b1000000 {
|
|
compatible = "snps,spear-ahci";
|
|
reg = <0xb1000000 0x10000>;
|
|
interrupts = <0 72 0x4>;
|
|
status = "disabled";
|
|
};
|
|
|
|
pinmux: pinmux@e0700000 {
|
|
compatible = "st,spear1340-pinmux";
|
|
reg = <0xe0700000 0x1000>;
|
|
#gpio-range-cells = <2>;
|
|
};
|
|
|
|
spi1: spi@5d400000 {
|
|
compatible = "arm,pl022", "arm,primecell";
|
|
reg = <0x5d400000 0x1000>;
|
|
interrupts = <0 99 0x4>;
|
|
status = "disabled";
|
|
};
|
|
|
|
apb {
|
|
i2c1: i2c@b4000000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "snps,designware-i2c";
|
|
reg = <0xb4000000 0x1000>;
|
|
interrupts = <0 104 0x4>;
|
|
status = "disabled";
|
|
};
|
|
|
|
serial@b4100000 {
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
reg = <0xb4100000 0x1000>;
|
|
interrupts = <0 105 0x4>;
|
|
status = "disabled";
|
|
};
|
|
|
|
thermal@e07008c4 {
|
|
st,thermal-flags = <0x2a00>;
|
|
};
|
|
|
|
gpiopinctrl: gpio@e2800000 {
|
|
compatible = "st,spear-plgpio";
|
|
reg = <0xe2800000 0x1000>;
|
|
interrupts = <0 107 0x4>;
|
|
#interrupt-cells = <1>;
|
|
interrupt-controller;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
gpio-ranges = <&pinmux 0 252>;
|
|
status = "disabled";
|
|
|
|
st-plgpio,ngpio = <250>;
|
|
st-plgpio,wdata-reg = <0x40>;
|
|
st-plgpio,dir-reg = <0x00>;
|
|
st-plgpio,ie-reg = <0x80>;
|
|
st-plgpio,rdata-reg = <0x20>;
|
|
st-plgpio,mis-reg = <0xa0>;
|
|
st-plgpio,eit-reg = <0x60>;
|
|
};
|
|
};
|
|
};
|
|
};
|