mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 05:16:53 +07:00
c5fa4fdcdb
This patch adds a generic target for SPEAr3xx machines that can be configured via the device-tree. Currently the following devices are supported via the devicetree: - VIC interrupts - PL011 UART - PL061 GPIO - PL110 CLCD - SP805 WDT - Synopsys DW I2C - Synopsys DW ethernet - ST FSMC-NAND - ST SPEAR-SMI - ST SPEAR-KEYBOARD - ST SPEAR-RTC - ARASAN SDHCI-SPEAR - SPEAR-EHCI - SPEAR-OHCI Other peripheral devices will follow in later patches. This also removes IO_ADDRESS macro and creates 16 MB static mappings instead of 4K for individual peripherals. This is done to have efficient TLB lookup for any I/O windows that are located closely together. ioremap() on this range will return this mapping only instead of creating another. Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
76 lines
1.7 KiB
Plaintext
76 lines
1.7 KiB
Plaintext
/*
|
|
* DTS file for SPEAr310 SoC
|
|
*
|
|
* Copyright 2012 Viresh Kumar <viresh.kumar@st.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>;
|
|
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
};
|