mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-07 21:53:44 +00:00
724ba67515
The arm dts directory has grown to 1559 boards which makes it a bit unwieldy to maintain and use. Past attempts stalled out due to plans to move .dts files out of the kernel tree. Doing that is no longer planned (any time soon at least), so let's go ahead and group .dts files by vendors. This move aligns arm with arm64 .dts file structure. There's no change to dtbs_install as the flat structure is maintained on install. The naming of vendor directories is roughly in this order of preference: - Matching original and current SoC vendor prefix/name (e.g. ti, qcom) - Current vendor prefix/name if still actively sold (SoCs which have been aquired) (e.g. nxp/imx) - Existing platform name for older platforms not sold/maintained by any company (e.g. gemini, nspire) The whole move was scripted with the exception of MAINTAINERS and a few makefile fixups. Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Michal Simek <michal.simek@amd.com> #Xilinx Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Neil Armstrong <neil.armstrong@linaro.org> Acked-by: Paul Barker <paul.barker@sancloud.com> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Gregory CLEMENT <gregory.clement@bootlin.com> Acked-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Wei Xu <xuwei5@hisilicon.com> #hisilicon Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Nick Hawkins <nick.hawkins@hpe.com> Acked-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Acked-by: Peter Rosin <peda@axentia.se> Acked-by: Jesper Nilsson <jesper.nilsson@axis.com> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> #broadcom Acked-by: Manivannan Sadhasivam <mani@kernel.org> Reviewed-by: Jisheng Zhang <jszhang@kernel.org> Acked-by: Patrice Chotard <patrice.chotard@foss.st.com> Acked-by: Romain Perier <romain.perier@gmail.com> Acked-by: Alexandre TORGUE <alexandre.torgue@st.com> Acked-by: Shawn Guo <shawnguo@kernel.org> Acked-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Acked-by: Enric Balletbo i Serra <eballetbo@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org>
299 lines
5.0 KiB
Plaintext
299 lines
5.0 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
* DTS file for SPEAr320 Evaluation Baord
|
|
*
|
|
* Copyright 2012 Shiraz Hashim <shiraz.linux.kernel@gmail.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/include/ "spear320.dtsi"
|
|
|
|
/ {
|
|
model = "ST SPEAr320 HMI Board";
|
|
compatible = "st,spear320-hmi", "st,spear320";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
memory {
|
|
reg = <0 0x40000000>;
|
|
};
|
|
|
|
ahb {
|
|
pinmux@b3000000 {
|
|
st,pinmux-mode = <4>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&state_default>;
|
|
|
|
state_default: pinmux {
|
|
i2c0 {
|
|
st,pins = "i2c0_grp";
|
|
st,function = "i2c0";
|
|
};
|
|
ssp0 {
|
|
st,pins = "ssp0_grp";
|
|
st,function = "ssp0";
|
|
};
|
|
uart0 {
|
|
st,pins = "uart0_grp";
|
|
st,function = "uart0";
|
|
};
|
|
clcd {
|
|
st,pins = "clcd_grp";
|
|
st,function = "clcd";
|
|
};
|
|
fsmc {
|
|
st,pins = "fsmc_8bit_grp";
|
|
st,function = "fsmc";
|
|
};
|
|
sdhci {
|
|
st,pins = "sdhci_cd_12_grp";
|
|
st,function = "sdhci";
|
|
};
|
|
i2s {
|
|
st,pins = "i2s_grp";
|
|
st,function = "i2s";
|
|
};
|
|
uart1 {
|
|
st,pins = "uart1_grp";
|
|
st,function = "uart1";
|
|
};
|
|
uart2 {
|
|
st,pins = "uart2_grp";
|
|
st,function = "uart2";
|
|
};
|
|
can0 {
|
|
st,pins = "can0_grp";
|
|
st,function = "can0";
|
|
};
|
|
can1 {
|
|
st,pins = "can1_grp";
|
|
st,function = "can1";
|
|
};
|
|
mii0_1 {
|
|
st,pins = "rmii0_1_grp";
|
|
st,function = "mii0_1";
|
|
};
|
|
pwm0_1 {
|
|
st,pins = "pwm0_1_pin_37_38_grp";
|
|
st,function = "pwm0_1";
|
|
};
|
|
pwm2 {
|
|
st,pins = "pwm2_pin_34_grp";
|
|
st,function = "pwm2";
|
|
};
|
|
};
|
|
};
|
|
|
|
clcd@90000000 {
|
|
status = "okay";
|
|
};
|
|
|
|
dma@fc400000 {
|
|
status = "okay";
|
|
};
|
|
|
|
ehci@e1800000 {
|
|
status = "okay";
|
|
};
|
|
|
|
fsmc: flash@4c000000 {
|
|
status = "okay";
|
|
|
|
partition@0 {
|
|
label = "xloader";
|
|
reg = <0x0 0x80000>;
|
|
};
|
|
partition@80000 {
|
|
label = "u-boot";
|
|
reg = <0x80000 0x140000>;
|
|
};
|
|
partition@1C0000 {
|
|
label = "environment";
|
|
reg = <0x1C0000 0x40000>;
|
|
};
|
|
partition@200000 {
|
|
label = "dtb";
|
|
reg = <0x200000 0x40000>;
|
|
};
|
|
partition@240000 {
|
|
label = "linux";
|
|
reg = <0x240000 0xC00000>;
|
|
};
|
|
partition@E40000 {
|
|
label = "rootfs";
|
|
reg = <0xE40000 0x0>;
|
|
};
|
|
};
|
|
|
|
gpio_keys {
|
|
compatible = "gpio-keys";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
button@1 {
|
|
label = "user button 1";
|
|
linux,code = <0x100>;
|
|
gpios = <&stmpegpio 3 0x4>;
|
|
debounce-interval = <20>;
|
|
wakeup-source;
|
|
};
|
|
|
|
button@2 {
|
|
label = "user button 2";
|
|
linux,code = <0x200>;
|
|
gpios = <&stmpegpio 2 0x4>;
|
|
debounce-interval = <20>;
|
|
wakeup-source;
|
|
};
|
|
};
|
|
|
|
ohci@e1900000 {
|
|
status = "okay";
|
|
};
|
|
|
|
ohci@e2100000 {
|
|
status = "okay";
|
|
};
|
|
|
|
pwm: pwm@a8000000 {
|
|
status = "okay";
|
|
};
|
|
|
|
sdhci@70000000 {
|
|
power-gpio = <&gpiopinctrl 50 1>;
|
|
power_always_enb;
|
|
status = "okay";
|
|
};
|
|
|
|
smi: flash@fc000000 {
|
|
status = "okay";
|
|
clock-rate = <50000000>;
|
|
|
|
flash@f8000000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
reg = <0xf8000000 0x800000>;
|
|
st,smi-fast-mode;
|
|
|
|
partition@0 {
|
|
label = "xloader";
|
|
reg = <0x0 0x10000>;
|
|
};
|
|
partition@10000 {
|
|
label = "u-boot";
|
|
reg = <0x10000 0x50000>;
|
|
};
|
|
partition@60000 {
|
|
label = "environment";
|
|
reg = <0x60000 0x10000>;
|
|
};
|
|
partition@70000 {
|
|
label = "dtb";
|
|
reg = <0x70000 0x10000>;
|
|
};
|
|
partition@80000 {
|
|
label = "linux";
|
|
reg = <0x80000 0x310000>;
|
|
};
|
|
partition@390000 {
|
|
label = "rootfs";
|
|
reg = <0x390000 0x0>;
|
|
};
|
|
};
|
|
};
|
|
|
|
spi0: spi@d0100000 {
|
|
status = "okay";
|
|
};
|
|
|
|
spi1: spi@a5000000 {
|
|
status = "okay";
|
|
};
|
|
|
|
spi2: spi@a6000000 {
|
|
status = "okay";
|
|
};
|
|
|
|
usbd@e1100000 {
|
|
status = "okay";
|
|
};
|
|
|
|
apb {
|
|
gpio0: gpio@fc980000 {
|
|
status = "okay";
|
|
};
|
|
|
|
gpio@b3000000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c0: i2c@d0180000 {
|
|
status = "okay";
|
|
|
|
stmpe811@41 {
|
|
compatible = "st,stmpe811";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <0x41>;
|
|
irq-gpios = <&gpiopinctrl 29 0x4>;
|
|
id = <0>;
|
|
blocks = <0x5>;
|
|
irq-trigger = <0x1>;
|
|
|
|
stmpegpio: stmpe-gpio {
|
|
compatible = "st,stmpe-gpio";
|
|
reg = <0>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
gpio,norequest-mask = <0xF3>;
|
|
};
|
|
|
|
stmpe610-ts {
|
|
compatible = "stmpe,ts";
|
|
reg = <0>;
|
|
ts,sample-time = <4>;
|
|
ts,mod-12b = <1>;
|
|
ts,ref-sel = <0>;
|
|
ts,adc-freq = <1>;
|
|
ts,ave-ctrl = <1>;
|
|
ts,touch-det-delay = <3>;
|
|
ts,settling = <4>;
|
|
ts,fraction-z = <7>;
|
|
ts,i-drive = <1>;
|
|
};
|
|
};
|
|
};
|
|
|
|
i2c1: i2c@a7000000 {
|
|
status = "okay";
|
|
};
|
|
|
|
rtc@fc900000 {
|
|
status = "okay";
|
|
};
|
|
|
|
serial@d0000000 {
|
|
status = "okay";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <>;
|
|
};
|
|
|
|
serial@a3000000 {
|
|
status = "okay";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <>;
|
|
};
|
|
|
|
serial@a4000000 {
|
|
status = "okay";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <>;
|
|
};
|
|
|
|
wdt@fc880000 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|
|
};
|