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>
178 lines
4.7 KiB
Plaintext
178 lines
4.7 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
* Copyright 2013 Gateworks Corporation
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "imx6q.dtsi"
|
|
#include "imx6qdl-gw54xx.dtsi"
|
|
#include <dt-bindings/media/tda1997x.h>
|
|
|
|
/ {
|
|
model = "Gateworks Ventana i.MX6 Dual/Quad GW54XX";
|
|
compatible = "gw,imx6q-gw54xx", "gw,ventana", "fsl,imx6q";
|
|
|
|
sound-digital {
|
|
compatible = "simple-audio-card";
|
|
simple-audio-card,name = "tda1997x-audio";
|
|
simple-audio-card,format = "i2s";
|
|
simple-audio-card,bitclock-master = <&sound_codec>;
|
|
simple-audio-card,frame-master = <&sound_codec>;
|
|
|
|
sound_cpu: simple-audio-card,cpu {
|
|
sound-dai = <&ssi2>;
|
|
};
|
|
|
|
sound_codec: simple-audio-card,codec {
|
|
sound-dai = <&hdmi_receiver>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&i2c3 {
|
|
adv7180: camera@20 {
|
|
compatible = "adi,adv7180";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_adv7180>;
|
|
reg = <0x20>;
|
|
powerdown-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
|
|
interrupt-parent = <&gpio3>;
|
|
interrupts = <30 IRQ_TYPE_LEVEL_LOW>;
|
|
|
|
port {
|
|
adv7180_to_ipu2_csi1_mux: endpoint {
|
|
remote-endpoint = <&ipu2_csi1_mux_from_parallel_sensor>;
|
|
bus-width = <8>;
|
|
};
|
|
};
|
|
};
|
|
|
|
hdmi_receiver: hdmi-receiver@48 {
|
|
compatible = "nxp,tda19971";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_tda1997x>;
|
|
reg = <0x48>;
|
|
interrupt-parent = <&gpio1>;
|
|
interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
|
|
DOVDD-supply = <®_3p3v>;
|
|
AVDD-supply = <&sw4_reg>;
|
|
DVDD-supply = <&sw4_reg>;
|
|
#sound-dai-cells = <0>;
|
|
nxp,audout-format = "i2s";
|
|
nxp,audout-layout = <0>;
|
|
nxp,audout-width = <16>;
|
|
nxp,audout-mclk-fs = <128>;
|
|
/*
|
|
* The 8bpp YUV422 semi-planar mode outputs CbCr[11:4]
|
|
* and Y[11:4] across 16bits in the same cycle
|
|
* which we map to VP[15:08]<->CSI_DATA[19:12]
|
|
*/
|
|
nxp,vidout-portcfg =
|
|
/*G_Y_11_8<->VP[15:12]<->CSI_DATA[19:16]*/
|
|
< TDA1997X_VP24_V15_12 TDA1997X_G_Y_11_8 >,
|
|
/*G_Y_7_4<->VP[11:08]<->CSI_DATA[15:12]*/
|
|
< TDA1997X_VP24_V11_08 TDA1997X_G_Y_7_4 >,
|
|
/*R_CR_CBCR_11_8<->VP[07:04]<->CSI_DATA[11:08]*/
|
|
< TDA1997X_VP24_V07_04 TDA1997X_R_CR_CBCR_11_8 >,
|
|
/*R_CR_CBCR_7_4<->VP[03:00]<->CSI_DATA[07:04]*/
|
|
< TDA1997X_VP24_V03_00 TDA1997X_R_CR_CBCR_7_4 >;
|
|
|
|
port {
|
|
tda1997x_to_ipu1_csi0_mux: endpoint {
|
|
remote-endpoint = <&ipu1_csi0_mux_from_parallel_sensor>;
|
|
bus-width = <16>;
|
|
hsync-active = <1>;
|
|
vsync-active = <1>;
|
|
data-active = <1>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&ipu1_csi0_from_ipu1_csi0_mux {
|
|
bus-width = <16>;
|
|
};
|
|
|
|
&ipu1_csi0_mux_from_parallel_sensor {
|
|
remote-endpoint = <&tda1997x_to_ipu1_csi0_mux>;
|
|
bus-width = <16>;
|
|
};
|
|
|
|
&ipu1_csi0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_ipu1_csi0>;
|
|
};
|
|
|
|
&ipu2_csi1_from_ipu2_csi1_mux {
|
|
bus-width = <8>;
|
|
};
|
|
|
|
&ipu2_csi1_mux_from_parallel_sensor {
|
|
remote-endpoint = <&adv7180_to_ipu2_csi1_mux>;
|
|
bus-width = <8>;
|
|
};
|
|
|
|
&ipu2_csi1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pinctrl_ipu2_csi1>;
|
|
};
|
|
|
|
&sata {
|
|
status = "okay";
|
|
};
|
|
|
|
&iomuxc {
|
|
pinctrl_adv7180: adv7180grp {
|
|
fsl,pins = <
|
|
MX6QDL_PAD_EIM_D30__GPIO3_IO30 0x0001b0b0
|
|
MX6QDL_PAD_EIM_D31__GPIO3_IO31 0x4001b0b0
|
|
>;
|
|
};
|
|
|
|
pinctrl_ipu1_csi0: ipu1_csi0grp {
|
|
fsl,pins = <
|
|
MX6QDL_PAD_CSI0_DAT4__IPU1_CSI0_DATA04 0x1b0b0
|
|
MX6QDL_PAD_CSI0_DAT5__IPU1_CSI0_DATA05 0x1b0b0
|
|
MX6QDL_PAD_CSI0_DAT6__IPU1_CSI0_DATA06 0x1b0b0
|
|
MX6QDL_PAD_CSI0_DAT7__IPU1_CSI0_DATA07 0x1b0b0
|
|
MX6QDL_PAD_CSI0_DAT8__IPU1_CSI0_DATA08 0x1b0b0
|
|
MX6QDL_PAD_CSI0_DAT9__IPU1_CSI0_DATA09 0x1b0b0
|
|
MX6QDL_PAD_CSI0_DAT10__IPU1_CSI0_DATA10 0x1b0b0
|
|
MX6QDL_PAD_CSI0_DAT11__IPU1_CSI0_DATA11 0x1b0b0
|
|
MX6QDL_PAD_CSI0_DAT12__IPU1_CSI0_DATA12 0x1b0b0
|
|
MX6QD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