mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 18:12:48 +00:00
Based on 1 normalized pattern(s): 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 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 161 file(s). Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Richard Fontana <[email protected]> Reviewed-by: Allison Randal <[email protected]> Reviewed-by: Kate Stewart <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
113 lines
2.7 KiB
Devicetree
113 lines
2.7 KiB
Devicetree
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
* DTS file for SPEAr310 SoC
|
|
*
|
|
* Copyright 2012 Viresh Kumar <[email protected]>
|
|
*/
|
|
|
|
/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 = <3>;
|
|
};
|
|
|
|
fsmc: flash@44000000 {
|
|
compatible = "st,spear600-fsmc-nand";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
reg = <0x44000000 0x1000 /* FSMC Register */
|
|
0x40000000 0x0010 /* NAND Base DATA */
|
|
0x40020000 0x0010 /* NAND Base ADDR */
|
|
0x40010000 0x0010>; /* NAND Base CMD */
|
|
reg-names = "fsmc_regs", "nand_data", "nand_addr", "nand_cmd";
|
|
status = "disabled";
|
|
};
|
|
|
|
shirq: interrupt-controller@0xb4000000 {
|
|
compatible = "st,spear310-shirq";
|
|
reg = <0xb4000000 0x1000>;
|
|
interrupts = <28 29 30 1>;
|
|
#interrupt-cells = <1>;
|
|
interrupt-controller;
|
|
};
|
|
|
|
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>;
|
|
interrupts = <8>;
|
|
interrupt-parent = <&shirq>;
|
|
status = "disabled";
|
|
};
|
|
|
|
serial@b2080000 {
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
reg = <0xb2080000 0x1000>;
|
|
interrupts = <9>;
|
|
interrupt-parent = <&shirq>;
|
|
status = "disabled";
|
|
};
|
|
|
|
serial@b2100000 {
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
reg = <0xb2100000 0x1000>;
|
|
interrupts = <10>;
|
|
interrupt-parent = <&shirq>;
|
|
status = "disabled";
|
|
};
|
|
|
|
serial@b2180000 {
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
reg = <0xb2180000 0x1000>;
|
|
interrupts = <11>;
|
|
interrupt-parent = <&shirq>;
|
|
status = "disabled";
|
|
};
|
|
|
|
serial@b2200000 {
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
reg = <0xb2200000 0x1000>;
|
|
interrupts = <12>;
|
|
interrupt-parent = <&shirq>;
|
|
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 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>;
|
|
};
|
|
};
|
|
};
|
|
};
|