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>
183 lines
3.2 KiB
Text
183 lines
3.2 KiB
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (C) 2015 Altera Corporation <www.altera.com>
|
|
*/
|
|
#include "socfpga_arria10.dtsi"
|
|
|
|
/ {
|
|
model = "Altera SOCFPGA Arria 10";
|
|
compatible = "altr,socfpga-arria10-socdk", "altr,socfpga-arria10", "altr,socfpga";
|
|
|
|
aliases {
|
|
ethernet0 = &gmac0;
|
|
serial0 = &uart1;
|
|
};
|
|
|
|
chosen {
|
|
bootargs = "earlyprintk";
|
|
stdout-path = "serial0:115200n8";
|
|
};
|
|
|
|
memory@0 {
|
|
name = "memory";
|
|
device_type = "memory";
|
|
reg = <0x0 0x40000000>; /* 1GB */
|
|
};
|
|
|
|
a10leds {
|
|
compatible = "gpio-leds";
|
|
|
|
a10sr_led0 {
|
|
label = "a10sr-led0";
|
|
gpios = <&a10sr_gpio 0 1>;
|
|
};
|
|
|
|
a10sr_led1 {
|
|
label = "a10sr-led1";
|
|
gpios = <&a10sr_gpio 1 1>;
|
|
};
|
|
|
|
a10sr_led2 {
|
|
label = "a10sr-led2";
|
|
gpios = <&a10sr_gpio 2 1>;
|
|
};
|
|
|
|
a10sr_led3 {
|
|
label = "a10sr-led3";
|
|
gpios = <&a10sr_gpio 3 1>;
|
|
};
|
|
};
|
|
|
|
ref_033v: 033-v-ref {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "0.33V";
|
|
regulator-min-microvolt = <330000>;
|
|
regulator-max-microvolt = <330000>;
|
|
};
|
|
|
|
soc {
|
|
clkmgr@ffd04000 {
|
|
clocks {
|
|
osc1 {
|
|
clock-frequency = <25000000>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&gmac0 {
|
|
phy-mode = "rgmii";
|
|
phy-addr = <0xffffffff>; /* probe for phy addr */
|
|
|
|
/*
|
|
* These skews assume the user's FPGA design is adding 600ps of delay
|
|
* for TX_CLK on Arria 10.
|
|
*
|
|
* All skews are offset since hardware skew values for the ksz9031
|
|
* range from a negative skew to a positive skew.
|
|
* See the micrel-ksz90x1.txt Documentation file for details.
|
|
*/
|
|
txd0-skew-ps = <0>; /* -420ps */
|
|
txd1-skew-ps = <0>; /* -420ps */
|
|
txd2-skew-ps = <0>; /* -420ps */
|
|
txd3-skew-ps = <0>; /* -420ps */
|
|
rxd0-skew-ps = <420>; /* 0ps */
|
|
rxd1-skew-ps = <420>; /* 0ps */
|
|
rxd2-skew-ps = <420>; /* 0ps */
|
|
rxd3-skew-ps = <420>; /* 0ps */
|
|
txen-skew-ps = <0>; /* -420ps */
|
|
txc-skew-ps = <1860>; /* 960ps */
|
|
rxdv-skew-ps = <420>; /* 0ps */
|
|
rxc-skew-ps = <1680>; /* 780ps */
|
|
max-frame-size = <3800>;
|
|
status = "okay";
|
|
};
|
|
|
|
&gpio1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&spi1 {
|
|
status = "okay";
|
|
|
|
resource-manager@0 {
|
|
compatible = "altr,a10sr";
|
|
reg = <0>;
|
|
spi-max-frequency = <100000>;
|
|
/* low-level active IRQ at GPIO1_5 */
|
|
interrupt-parent = <&portb>;
|
|
interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
|
|
a10sr_gpio: gpio-controller {
|
|
compatible = "altr,a10sr-gpio";
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
};
|
|
|
|
a10sr_rst: reset-controller {
|
|
compatible = "altr,a10sr-reset";
|
|
#reset-cells = <1>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&i2c1 {
|
|
status = "okay";
|
|
|
|
/*
|
|
* adjust the falling times to decrease the i2c frequency to 50Khz
|
|
* because the LCD module does not work at the standard 100Khz
|
|
*/
|
|
clock-frequency = <100000>;
|
|
i2c-sda-falling-time-ns = <6000>;
|
|
i2c-scl-falling-time-ns = <6000>;
|
|
|
|
adc@14 {
|
|
compatible = "lltc,ltc2497";
|
|
reg = <0x14>;
|
|
vref-supply = <&ref_033v>;
|
|
};
|
|
|
|
adc@16 {
|
|
compatible = "lltc,ltc2497";
|
|
reg = <0x16>;
|
|
vref-supply = <&ref_033v>;
|
|
};
|
|
|
|
eeprom@51 {
|
|
compatible = "atmel,24c32";
|
|
reg = <0x51>;
|
|
pagesize = <32>;
|
|
};
|
|
|
|
rtc@68 {
|
|
compatible = "dallas,ds1339";
|
|
reg = <0x68>;
|
|
};
|
|
|
|
ltc@5c {
|
|
compatible = "ltc2977";
|
|
reg = <0x5c>;
|
|
};
|
|
|
|
temp@4c {
|
|
compatible = "maxim,max1619";
|
|
reg = <0x4c>;
|
|
};
|
|
};
|
|
|
|
&uart1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&usb0 {
|
|
status = "okay";
|
|
disable-over-current;
|
|
};
|
|
|
|
&watchdog1 {
|
|
status = "okay";
|
|
};
|