mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 15:14:52 +00:00

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>
114 lines
1.8 KiB
Plaintext
114 lines
1.8 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
/*
|
|
* Copyright 2022 Toradex
|
|
*/
|
|
|
|
/ {
|
|
reg_3v3_vmmc: regulator-3v3-vmmc {
|
|
compatible = "regulator-fixed";
|
|
enable-active-high;
|
|
gpio = <&gpio5 16 GPIO_ACTIVE_HIGH>; /* SODIMM 100 */
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-name = "3v3_vmmc";
|
|
startup-delay-us = <100>;
|
|
};
|
|
};
|
|
|
|
/* Colibri AD0 to AD3 */
|
|
&adc1 {
|
|
status = "okay";
|
|
};
|
|
|
|
/* Colibri SSP */
|
|
&ecspi3 {
|
|
status = "okay";
|
|
};
|
|
|
|
/* Colibri Fast Ethernet */
|
|
&fec1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&gpio2 {
|
|
/*
|
|
* uart_b_c_on_x14_enable turns the UART transceiver for UART2 and 5 on. If one wants to
|
|
* turn the transceiver off, that property has to be deleted and the gpio handled in
|
|
* userspace.
|
|
* The same applies to uart_a_on_x13_enable where the UART_A transceiver is turned on.
|
|
*/
|
|
uart-b-c-on-x14-enable-hog {
|
|
gpio-hog;
|
|
gpios = <27 GPIO_ACTIVE_HIGH>; /* SODIMM 104 */
|
|
output-high;
|
|
};
|
|
};
|
|
|
|
&gpio5 {
|
|
uart-a-on-x13-enable-hog {
|
|
gpio-hog;
|
|
gpios = <17 GPIO_ACTIVE_HIGH>; /* SODIMM 102 */
|
|
output-high;
|
|
};
|
|
};
|
|
|
|
/* Colibri I2C: I2C3_SDA/SCL on SODIMM 194/196 */
|
|
&i2c4 {
|
|
status = "okay";
|
|
};
|
|
|
|
/* Colibri PWM<A> */
|
|
&pwm1 {
|
|
status = "okay";
|
|
};
|
|
|
|
/* Colibri PWM<B> */
|
|
&pwm2 {
|
|
status = "okay";
|
|
};
|
|
|
|
/* Colibri PWM<C> */
|
|
&pwm3 {
|
|
status = "okay";
|
|
};
|
|
|
|
/* Colibri PWM<D> */
|
|
&pwm4 {
|
|
status = "okay";
|
|
};
|
|
|
|
/* M41T0M6 real time clock */
|
|
&rtc {
|
|
status = "okay";
|
|
};
|
|
|
|
/* Colibri UART_A */
|
|
&uart1 {
|
|
status = "okay";
|
|
};
|
|
|
|
/* Colibri UART_B */
|
|
&uart2 {
|
|
status = "okay";
|
|
};
|
|
|
|
/* Colibri UART_C */
|
|
&uart3 {
|
|
status = "okay";
|
|
};
|
|
|
|
/* Colibri USBC */
|
|
&usbotg1 {
|
|
disable-over-current;
|
|
status = "okay";
|
|
};
|
|
|
|
/* Colibri MMC/SD, UHS-I capable uSD slot */
|
|
&usdhc1 {
|
|
cap-power-off-card;
|
|
/delete-property/ keep-power-in-suspend;
|
|
/delete-property/ no-1-8-v;
|
|
vmmc-supply = <®_3v3_vmmc>;
|
|
status = "okay";
|
|
};
|