mirror of https://gitee.com/openkylin/linux.git
ARM: dts: r8a7742-iwg21d-q7-dbcm-ca: Add device tree for camera DB
Add support for the camera daughter board which is connected to iWave's RZ/G1H Qseven carrier board. Also enable ttySC[0135] and ethernet1 interfaces. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> Link: https://lore.kernel.org/r/1591552659-21314-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
parent
5818cc37e7
commit
91cebe35d1
|
@ -927,6 +927,7 @@ dtb-$(CONFIG_ARCH_RENESAS) += \
|
||||||
r8a73a4-ape6evm.dtb \
|
r8a73a4-ape6evm.dtb \
|
||||||
r8a7740-armadillo800eva.dtb \
|
r8a7740-armadillo800eva.dtb \
|
||||||
r8a7742-iwg21d-q7.dtb \
|
r8a7742-iwg21d-q7.dtb \
|
||||||
|
r8a7742-iwg21d-q7-dbcm-ca.dtb \
|
||||||
r8a7743-iwg20d-q7.dtb \
|
r8a7743-iwg20d-q7.dtb \
|
||||||
r8a7743-iwg20d-q7-dbcm-ca.dtb \
|
r8a7743-iwg20d-q7-dbcm-ca.dtb \
|
||||||
r8a7743-sk-rzg1m.dtb \
|
r8a7743-sk-rzg1m.dtb \
|
||||||
|
|
|
@ -0,0 +1,97 @@
|
||||||
|
// 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 "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 = ðer;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&avb {
|
||||||
|
/* Pins shared with VIN0, keep status disabled */
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
ðer {
|
||||||
|
pinctrl-0 = <ðer_pins>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
|
||||||
|
phy-handle = <&phy1>;
|
||||||
|
renesas,ether-link-active-low;
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
phy1: ethernet-phy@1 {
|
||||||
|
reg = <1>;
|
||||||
|
micrel,led-mode = <1>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&hscif0 {
|
||||||
|
pinctrl-0 = <&hscif0_pins>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
uart-has-rtscts;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&pfc {
|
||||||
|
ether_pins: ether {
|
||||||
|
groups = "eth_mdio", "eth_rmii";
|
||||||
|
function = "eth";
|
||||||
|
};
|
||||||
|
|
||||||
|
hscif0_pins: hscif0 {
|
||||||
|
groups = "hscif0_data", "hscif0_ctrl";
|
||||||
|
function = "hscif0";
|
||||||
|
};
|
||||||
|
|
||||||
|
scif0_pins: scif0 {
|
||||||
|
groups = "scif0_data";
|
||||||
|
function = "scif0";
|
||||||
|
};
|
||||||
|
|
||||||
|
scif1_pins: scif1 {
|
||||||
|
groups = "scif1_data";
|
||||||
|
function = "scif1";
|
||||||
|
};
|
||||||
|
|
||||||
|
scifb1_pins: scifb1 {
|
||||||
|
groups = "scifb1_data";
|
||||||
|
function = "scifb1";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&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>;
|
||||||
|
};
|
Loading…
Reference in New Issue