summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ca.dts
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-05-05 02:38:52 +0300
committerRob Herring <robh@kernel.org>2023-06-21 20:39:50 +0300
commit724ba6751532055db75992fc6ae21c3e322e94a7 (patch)
treec54cea784e2f7725fe18f8a5a234779b966d414a /arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ca.dts
parent6a1d798feb65d2a67e6e2cafb0b0e4f430603226 (diff)
downloadlinux-724ba6751532055db75992fc6ae21c3e322e94a7.tar.xz
ARM: dts: Move .dts files to vendor sub-directories
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>
Diffstat (limited to 'arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ca.dts')
-rw-r--r--arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ca.dts350
1 files changed, 0 insertions, 350 deletions
diff --git a/arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ca.dts b/arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ca.dts
deleted file mode 100644
index 33ac4bd1e63b..000000000000
--- a/arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ca.dts
+++ /dev/null
@@ -1,350 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * Device Tree Source for the iWave-RZ/G1H Qseven board development
- * platform with camera daughter board
- *
- * Copyright (C) 2020 Renesas Electronics Corp.
- */
-
-/dts-v1/;
-
-#include <dt-bindings/media/video-interfaces.h>
-
-#include "r8a7742-iwg21d-q7.dts"
-
-/ {
- model = "iWave Systems RZ/G1H Qseven development platform with camera add-on";
- compatible = "iwave,g21d", "iwave,g21m", "renesas,r8a7742";
-
- aliases {
- serial0 = &scif0;
- serial1 = &scif1;
- serial3 = &scifb1;
- serial5 = &hscif0;
- ethernet1 = &ether;
- };
-
- mclk_cam1: mclk-cam1 {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <26000000>;
- };
-
- mclk_cam2: mclk-cam2 {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <26000000>;
- };
-
- mclk_cam3: mclk-cam3 {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <26000000>;
- };
-
- mclk_cam4: mclk-cam4 {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <26000000>;
- };
-
- reg_1p8v: 1p8v {
- compatible = "regulator-fixed";
- regulator-name = "1P8V";
- regulator-min-microvolt = <1800000>;
- regulator-max-microvolt = <1800000>;
- regulator-always-on;
- };
-
- reg_2p8v: 2p8v {
- compatible = "regulator-fixed";
- regulator-name = "2P8V";
- regulator-min-microvolt = <2800000>;
- regulator-max-microvolt = <2800000>;
- regulator-always-on;
- };
-};
-
-&avb {
- /* Pins shared with VIN0, keep status disabled */
- status = "disabled";
-};
-
-&can0 {
- pinctrl-0 = <&can0_pins>;
- pinctrl-names = "default";
- status = "okay";
-};
-
-&ether {
- pinctrl-0 = <&ether_pins>;
- pinctrl-names = "default";
-
- phy-handle = <&phy1>;
- renesas,ether-link-active-low;
- status = "okay";
-
- phy1: ethernet-phy@1 {
- compatible = "ethernet-phy-id0022.1560",
- "ethernet-phy-ieee802.3-c22";
- reg = <1>;
- micrel,led-mode = <1>;
- };
-};
-
-&gpio0 {
- /* Disable hogging GP0_18 to output LOW */
- /delete-node/ qspi-en-hog;
-
- /* Hog GP0_18 to output HIGH to enable VIN2 */
- vin2-en-hog {
- gpio-hog;
- gpios = <18 GPIO_ACTIVE_HIGH>;
- output-high;
- line-name = "VIN2_EN";
- };
-};
-
-&hscif0 {
- pinctrl-0 = <&hscif0_pins>;
- pinctrl-names = "default";
- uart-has-rtscts;
- status = "okay";
-};
-
-&i2c1 {
- pinctrl-0 = <&i2c1_pins>;
- pinctrl-names = "default";
-
- /* status set to "okay" when needed by camera configuration below */
- clock-frequency = <400000>;
-};
-
-&i2c3 {
- pinctrl-0 = <&i2c3_pins>;
- pinctrl-names = "default";
-
- /* status set to "okay" when needed by camera configuration below */
- clock-frequency = <400000>;
-};
-
-&pfc {
- can0_pins: can0 {
- groups = "can0_data_d";
- function = "can0";
- };
-
- ether_pins: ether {
- groups = "eth_mdio", "eth_rmii";
- function = "eth";
- };
-
- hscif0_pins: hscif0 {
- groups = "hscif0_data", "hscif0_ctrl";
- function = "hscif0";
- };
-
- i2c1_pins: i2c1 {
- groups = "i2c1_c";
- function = "i2c1";
- };
-
- i2c3_pins: i2c3 {
- groups = "i2c3";
- function = "i2c3";
- };
-
- scif0_pins: scif0 {
- groups = "scif0_data";
- function = "scif0";
- };
-
- scif1_pins: scif1 {
- groups = "scif1_data";
- function = "scif1";
- };
-
- scifb1_pins: scifb1 {
- groups = "scifb1_data";
- function = "scifb1";
- };
-
- vin0_8bit_pins: vin0 {
- groups = "vin0_data8", "vin0_clk", "vin0_sync";
- function = "vin0";
- };
-
- vin1_8bit_pins: vin1 {
- groups = "vin1_data8_b", "vin1_clk_b", "vin1_sync_b";
- function = "vin1";
- };
-
- vin2_pins: vin2 {
- groups = "vin2_g8", "vin2_clk";
- function = "vin2";
- };
-
- vin3_pins: vin3 {
- groups = "vin3_data8", "vin3_clk", "vin3_sync";
- function = "vin3";
- };
-};
-
-&qspi {
- /* Pins shared with VIN2, keep status disabled */
- status = "disabled";
-};
-
-&scif0 {
- pinctrl-0 = <&scif0_pins>;
- pinctrl-names = "default";
- status = "okay";
-};
-
-&scif1 {
- pinctrl-0 = <&scif1_pins>;
- pinctrl-names = "default";
- status = "okay";
-};
-
-&scifb1 {
- pinctrl-0 = <&scifb1_pins>;
- pinctrl-names = "default";
- status = "okay";
-
- rts-gpios = <&gpio4 21 GPIO_ACTIVE_LOW>;
- cts-gpios = <&gpio4 17 GPIO_ACTIVE_LOW>;
-};
-
-/*
- * Below configuration ties VINx endpoints to ov5640/ov7725 camera endpoints
- *
- * (un)comment the #include statements to change configuration
- */
-
-/* 8bit CMOS Camera 1 (J13) */
-#define CAM_PARENT_I2C i2c0
-#define MCLK_CAM mclk_cam1
-#define CAM_EP cam0ep
-#define VIN_EP vin0ep
-#undef CAM_ENABLED
-#include "r8a7742-iwg21d-q7-dbcm-ov5640-single.dtsi"
-//#include "r8a7742-iwg21d-q7-dbcm-ov7725-single.dtsi"
-
-#ifdef CAM_ENABLED
-&vin0 {
- /*
- * Set SW2 switch on the SOM to 'ON'
- * Set SW1 switch on camera board to 'OFF' as we are using 8bit mode
- */
- status = "okay";
- pinctrl-0 = <&vin0_8bit_pins>;
- pinctrl-names = "default";
-
- port {
- vin0ep: endpoint {
- remote-endpoint = <&cam0ep>;
- bus-width = <8>;
- bus-type = <MEDIA_BUS_TYPE_BT656>;
- };
- };
-};
-#endif /* CAM_ENABLED */
-
-#undef CAM_PARENT_I2C
-#undef MCLK_CAM
-#undef CAM_EP
-#undef VIN_EP
-
-/* 8bit CMOS Camera 2 (J14) */
-#define CAM_PARENT_I2C i2c1
-#define MCLK_CAM mclk_cam2
-#define CAM_EP cam1ep
-#define VIN_EP vin1ep
-#undef CAM_ENABLED
-#include "r8a7742-iwg21d-q7-dbcm-ov5640-single.dtsi"
-//#include "r8a7742-iwg21d-q7-dbcm-ov7725-single.dtsi"
-
-#ifdef CAM_ENABLED
-&vin1 {
- /* Set SW1 switch on the SOM to 'ON' */
- status = "okay";
- pinctrl-0 = <&vin1_8bit_pins>;
- pinctrl-names = "default";
-
- port {
- vin1ep: endpoint {
- remote-endpoint = <&cam1ep>;
- bus-width = <8>;
- bus-type = <MEDIA_BUS_TYPE_BT656>;
- };
- };
-};
-
-#endif /* CAM_ENABLED */
-
-#undef CAM_PARENT_I2C
-#undef MCLK_CAM
-#undef CAM_EP
-#undef VIN_EP
-
-/* 8bit CMOS Camera 3 (J12) */
-#define CAM_PARENT_I2C i2c2
-#define MCLK_CAM mclk_cam3
-#define CAM_EP cam2ep
-#define VIN_EP vin2ep
-#undef CAM_ENABLED
-#include "r8a7742-iwg21d-q7-dbcm-ov5640-single.dtsi"
-//#include "r8a7742-iwg21d-q7-dbcm-ov7725-single.dtsi"
-
-#ifdef CAM_ENABLED
-&vin2 {
- status = "okay";
- pinctrl-0 = <&vin2_pins>;
- pinctrl-names = "default";
-
- port {
- vin2ep: endpoint {
- remote-endpoint = <&cam2ep>;
- bus-width = <8>;
- data-shift = <8>;
- bus-type = <MEDIA_BUS_TYPE_BT656>;
- };
- };
-};
-#endif /* CAM_ENABLED */
-
-#undef CAM_PARENT_I2C
-#undef MCLK_CAM
-#undef CAM_EP
-#undef VIN_EP
-
-/* 8bit CMOS Camera 4 (J11) */
-#define CAM_PARENT_I2C i2c3
-#define MCLK_CAM mclk_cam4
-#define CAM_EP cam3ep
-#define VIN_EP vin3ep
-#undef CAM_ENABLED
-#include "r8a7742-iwg21d-q7-dbcm-ov5640-single.dtsi"
-//#include "r8a7742-iwg21d-q7-dbcm-ov7725-single.dtsi"
-
-#ifdef CAM_ENABLED
-&vin3 {
- status = "okay";
- pinctrl-0 = <&vin3_pins>;
- pinctrl-names = "default";
-
- port {
- vin3ep: endpoint {
- remote-endpoint = <&cam3ep>;
- bus-width = <8>;
- bus-type = <MEDIA_BUS_TYPE_BT656>;
- };
- };
-};
-#endif /* CAM_ENABLED */
-
-#undef CAM_PARENT_I2C
-#undef MCLK_CAM
-#undef CAM_EP
-#undef VIN_EP