Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Lad Prabhakar and committed by
Geert Uytterhoeven
91cebe35 5818cc37

+98
+1
arch/arm/boot/dts/Makefile
··· 927 927 r8a73a4-ape6evm.dtb \ 928 928 r8a7740-armadillo800eva.dtb \ 929 929 r8a7742-iwg21d-q7.dtb \ 930 + r8a7742-iwg21d-q7-dbcm-ca.dtb \ 930 931 r8a7743-iwg20d-q7.dtb \ 931 932 r8a7743-iwg20d-q7-dbcm-ca.dtb \ 932 933 r8a7743-sk-rzg1m.dtb \
+97
arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ca.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + /* 3 + * Device Tree Source for the iWave-RZ/G1H Qseven board development 4 + * platform with camera daughter board 5 + * 6 + * Copyright (C) 2020 Renesas Electronics Corp. 7 + */ 8 + 9 + /dts-v1/; 10 + #include "r8a7742-iwg21d-q7.dts" 11 + 12 + / { 13 + model = "iWave Systems RZ/G1H Qseven development platform with camera add-on"; 14 + compatible = "iwave,g21d", "iwave,g21m", "renesas,r8a7742"; 15 + 16 + aliases { 17 + serial0 = &scif0; 18 + serial1 = &scif1; 19 + serial3 = &scifb1; 20 + serial5 = &hscif0; 21 + ethernet1 = &ether; 22 + }; 23 + }; 24 + 25 + &avb { 26 + /* Pins shared with VIN0, keep status disabled */ 27 + status = "disabled"; 28 + }; 29 + 30 + &ether { 31 + pinctrl-0 = <&ether_pins>; 32 + pinctrl-names = "default"; 33 + 34 + phy-handle = <&phy1>; 35 + renesas,ether-link-active-low; 36 + status = "okay"; 37 + 38 + phy1: ethernet-phy@1 { 39 + reg = <1>; 40 + micrel,led-mode = <1>; 41 + }; 42 + }; 43 + 44 + &hscif0 { 45 + pinctrl-0 = <&hscif0_pins>; 46 + pinctrl-names = "default"; 47 + uart-has-rtscts; 48 + status = "okay"; 49 + }; 50 + 51 + &pfc { 52 + ether_pins: ether { 53 + groups = "eth_mdio", "eth_rmii"; 54 + function = "eth"; 55 + }; 56 + 57 + hscif0_pins: hscif0 { 58 + groups = "hscif0_data", "hscif0_ctrl"; 59 + function = "hscif0"; 60 + }; 61 + 62 + scif0_pins: scif0 { 63 + groups = "scif0_data"; 64 + function = "scif0"; 65 + }; 66 + 67 + scif1_pins: scif1 { 68 + groups = "scif1_data"; 69 + function = "scif1"; 70 + }; 71 + 72 + scifb1_pins: scifb1 { 73 + groups = "scifb1_data"; 74 + function = "scifb1"; 75 + }; 76 + }; 77 + 78 + &scif0 { 79 + pinctrl-0 = <&scif0_pins>; 80 + pinctrl-names = "default"; 81 + status = "okay"; 82 + }; 83 + 84 + &scif1 { 85 + pinctrl-0 = <&scif1_pins>; 86 + pinctrl-names = "default"; 87 + status = "okay"; 88 + }; 89 + 90 + &scifb1 { 91 + pinctrl-0 = <&scifb1_pins>; 92 + pinctrl-names = "default"; 93 + status = "okay"; 94 + 95 + rts-gpios = <&gpio4 21 GPIO_ACTIVE_LOW>; 96 + cts-gpios = <&gpio4 17 GPIO_ACTIVE_LOW>; 97 + };