mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 19:20:55 +07:00
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>
101 lines
2.4 KiB
Plaintext
101 lines
2.4 KiB
Plaintext
/*
|
|
* DTS file for SPEAr310 SoC
|
|
*
|
|
* 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/ "spear3xx.dtsi"
|
|
|
|
/ {
|
|
ahb {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "simple-bus";
|
|
ranges = <0x40000000 0x40000000 0x10000000
|
|
0xb0000000 0xb0000000 0x10000000
|
|
0xd0000000 0xd0000000 0x30000000>;
|
|
|
|
pinmux: pinmux@b4000000 {
|
|
compatible = "st,spear310-pinmux";
|
|
reg = <0xb4000000 0x1000>;
|
|
#gpio-range-cells = <2>;
|
|
};
|
|
|
|
fsmc: flash@44000000 {
|
|
compatible = "st,spear600-fsmc-nand";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
reg = <0x44000000 0x1000 /* FSMC Register */
|
|
0x40000000 0x0010>; /* NAND Base */
|
|
reg-names = "fsmc_regs", "nand_data";
|
|
st,ale-off = <0x10000>;
|
|
st,cle-off = <0x20000>;
|
|
status = "disabled";
|
|
};
|
|
|
|
apb {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "simple-bus";
|
|
ranges = <0xb0000000 0xb0000000 0x10000000
|
|
0xd0000000 0xd0000000 0x30000000>;
|
|
|
|
serial@b2000000 {
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
reg = <0xb2000000 0x1000>;
|
|
status = "disabled";
|
|
};
|
|
|
|
serial@b2080000 {
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
reg = <0xb2080000 0x1000>;
|
|
status = "disabled";
|
|
};
|
|
|
|
serial@b2100000 {
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
reg = <0xb2100000 0x1000>;
|
|
status = "disabled";
|
|
};
|
|
|
|
serial@b2180000 {
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
reg = <0xb2180000 0x1000>;
|
|
status = "disabled";
|
|
};
|
|
|
|
serial@b2200000 {
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
reg = <0xb2200000 0x1000>;
|
|
status = "disabled";
|
|
};
|
|
|
|
gpiopinctrl: gpio@b4000000 {
|
|
compatible = "st,spear-plgpio";
|
|
reg = <0xb4000000 0x1000>;
|
|
#interrupt-cells = <1>;
|
|
interrupt-controller;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
gpio-ranges = <&pinmux 0 102>;
|
|
status = "disabled";
|
|
|
|
st-plgpio,ngpio = <102>;
|
|
st-plgpio,enb-reg = <0x10>;
|
|
st-plgpio,wdata-reg = <0x20>;
|
|
st-plgpio,dir-reg = <0x30>;
|
|
st-plgpio,ie-reg = <0x50>;
|
|
st-plgpio,rdata-reg = <0x40>;
|
|
st-plgpio,mis-reg = <0x60>;
|
|
};
|
|
};
|
|
};
|
|
};
|