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

Merge tag 'renesas-arm-dt-for-v5.15-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into arm/dt

Renesas ARM DT updates for v5.15

- Switches support for the Draak and Ebisu development boards,
- I2C support on RZ/G2L,
- I2C EEPROM support on the Ebisu development board,
- Sound support for the R-Car D3 SoC and the Draak development board,
- Support for the new R-Car H3e-2G and M3e-2G SoCs on the Salvator-XS
and ULCB development boards,
- IOMMU support for DMAC, EtherAVB, and SDHI on the R-Car M3-W+ SoC,
- Miscellaneous fixes and improvements.

* tag 'renesas-arm-dt-for-v5.15-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel: (29 commits)
arm64: dts: renesas: r8a77961: Add iommus to ipmmu_ds[01] related nodes
arm64: dts: renesas: Add support for M3ULCB+Kingfisher with R-Car M3e-2G
arm64: dts: renesas: Add support for M3ULCB with R-Car M3e-2G
arm64: dts: renesas: Add support for Salvator-XS with R-Car M3e-2G
arm64: dts: renesas: Add support for H3ULCB+Kingfisher with R-Car H3e-2G
arm64: dts: renesas: Add support for H3ULCB with R-Car H3e-2G
arm64: dts: renesas: Add support for Salvator-XS with R-Car H3e-2G
arm64: dts: renesas: Add Renesas R8A779M3 SoC support
arm64: dts: renesas: Add Renesas R8A779M1 SoC support
arm64: dts: renesas: hihope-rzg2-ex: Add EtherAVB internal rx delay
arm64: dts: renesas: r8a77995: draak: Add R-Car Sound support
arm64: dts: renesas: r8a77995: Add R-Car Sound support
arm64: dts: renesas: rcar-gen3: Add SoC model to comment headers
arm64: dts: renesas: r8a77990: ebisu: Add I2C EEPROM for PMIC
arm64: dts: renesas: r8a77995: draak: Remove bogus adv7511w properties
arm64: dts: renesas: beacon: Enable micbias
arm64: dts: renesas: r9a07g044: Add I2C nodes
arm64: dts: renesas: r8a779a0: Restore sort order
arm64: dts: renesas: r8a77990: ebisu: Add SW4 support
arm64: dts: renesas: r8a77995: draak: Add SW56 support
...

Link: https://lore.kernel.org/r/cover.1627650696.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+943 -371
-44
arch/arm/boot/dts/r8a73a4.dtsi
··· 72 72 power-domains = <&pd_a3bc>; 73 73 }; 74 74 75 - dmac: dma-multiplexer { 76 - compatible = "renesas,shdma-mux"; 77 - #dma-cells = <1>; 78 - dma-channels = <20>; 79 - dma-requests = <256>; 80 - #address-cells = <2>; 81 - #size-cells = <2>; 82 - ranges; 83 - 84 - dma0: dma-controller@e6700020 { 85 - compatible = "renesas,shdma-r8a73a4"; 86 - reg = <0 0xe6700020 0 0x89e0>; 87 - interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>, 88 - <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>, 89 - <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>, 90 - <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>, 91 - <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>, 92 - <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>, 93 - <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>, 94 - <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>, 95 - <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>, 96 - <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>, 97 - <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>, 98 - <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>, 99 - <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>, 100 - <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>, 101 - <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>, 102 - <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>, 103 - <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>, 104 - <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>, 105 - <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>, 106 - <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>, 107 - <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>; 108 - interrupt-names = "error", 109 - "ch0", "ch1", "ch2", "ch3", 110 - "ch4", "ch5", "ch6", "ch7", 111 - "ch8", "ch9", "ch10", "ch11", 112 - "ch12", "ch13", "ch14", "ch15", 113 - "ch16", "ch17", "ch18", "ch19"; 114 - clocks = <&mstp2_clks R8A73A4_CLK_DMAC>; 115 - power-domains = <&pd_a3sp>; 116 - }; 117 - }; 118 - 119 75 i2c5: i2c@e60b0000 { 120 76 #address-cells = <1>; 121 77 #size-cells = <0>;
+3 -1
arch/arm/boot/dts/r8a7742.dtsi
··· 602 602 iic3: i2c@e60b0000 { 603 603 #address-cells = <1>; 604 604 #size-cells = <0>; 605 - compatible = "renesas,iic-r8a7742"; 605 + compatible = "renesas,iic-r8a7742", 606 + "renesas,rcar-gen2-iic", 607 + "renesas,rmobile-iic"; 606 608 reg = <0 0xe60b0000 0 0x425>; 607 609 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>; 608 610 clocks = <&cpg CPG_MOD 926>;
+3 -1
arch/arm/boot/dts/r8a7743.dtsi
··· 552 552 /* doesn't need pinmux */ 553 553 #address-cells = <1>; 554 554 #size-cells = <0>; 555 - compatible = "renesas,iic-r8a7743"; 555 + compatible = "renesas,iic-r8a7743", 556 + "renesas,rcar-gen2-iic", 557 + "renesas,rmobile-iic"; 556 558 reg = <0 0xe60b0000 0 0x425>; 557 559 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>; 558 560 clocks = <&cpg CPG_MOD 926>;
+3 -1
arch/arm/boot/dts/r8a7744.dtsi
··· 552 552 /* doesn't need pinmux */ 553 553 #address-cells = <1>; 554 554 #size-cells = <0>; 555 - compatible = "renesas,iic-r8a7744"; 555 + compatible = "renesas,iic-r8a7744", 556 + "renesas,rcar-gen2-iic", 557 + "renesas,rmobile-iic"; 556 558 reg = <0 0xe60b0000 0 0x425>; 557 559 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>; 558 560 clocks = <&cpg CPG_MOD 926>;
+8
arch/arm64/boot/dts/renesas/Makefile
··· 63 63 64 64 dtb-$(CONFIG_ARCH_R8A779A0) += r8a779a0-falcon.dtb 65 65 66 + dtb-$(CONFIG_ARCH_R8A77951) += r8a779m1-salvator-xs.dtb 67 + dtb-$(CONFIG_ARCH_R8A77951) += r8a779m1-ulcb.dtb 68 + dtb-$(CONFIG_ARCH_R8A77951) += r8a779m1-ulcb-kf.dtb 69 + 70 + dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-salvator-xs.dtb 71 + dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-ulcb.dtb 72 + dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-ulcb-kf.dtb 73 + 66 74 dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044l2-smarc.dtb
+8
arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi
··· 197 197 compatible = "audio-graph-card"; 198 198 label = "rcar-sound"; 199 199 dais = <&rsnd_port0>, <&rsnd_port1>; 200 + widgets = "Microphone", "Mic Jack", 201 + "Line", "Line In Jack", 202 + "Headphone", "Headphone Jack"; 203 + mic-det-gpio = <&gpio0 2 GPIO_ACTIVE_LOW>; 204 + routing = "Headphone Jack", "HPOUTL", 205 + "Headphone Jack", "HPOUTR", 206 + "IN3R", "MICBIAS", 207 + "Mic Jack", "IN3R"; 200 208 }; 201 209 202 210 vccq_sdhi0: regulator-vccq-sdhi0 {
+1
arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi
··· 20 20 pinctrl-names = "default"; 21 21 phy-handle = <&phy0>; 22 22 tx-internal-delay-ps = <2000>; 23 + rx-internal-delay-ps = <1800>; 23 24 status = "okay"; 24 25 25 26 phy0: ethernet-phy@0 {
+2 -2
arch/arm64/boot/dts/renesas/r8a774a1.dtsi
··· 25 25 i2c4 = &i2c4; 26 26 i2c5 = &i2c5; 27 27 i2c6 = &i2c6; 28 - i2c7 = &i2c_dvfs; 28 + i2c7 = &iic_pmic; 29 29 }; 30 30 31 31 /* ··· 715 715 status = "disabled"; 716 716 }; 717 717 718 - i2c_dvfs: i2c@e60b0000 { 718 + iic_pmic: i2c@e60b0000 { 719 719 #address-cells = <1>; 720 720 #size-cells = <0>; 721 721 compatible = "renesas,iic-r8a774a1",
+1 -1
arch/arm64/boot/dts/renesas/r8a774b1.dtsi
··· 588 588 status = "disabled"; 589 589 }; 590 590 591 - i2c_dvfs: i2c@e60b0000 { 591 + iic_pmic: i2c@e60b0000 { 592 592 #address-cells = <1>; 593 593 #size-cells = <0>; 594 594 compatible = "renesas,iic-r8a774b1",
+5 -3
arch/arm64/boot/dts/renesas/r8a774c0.dtsi
··· 574 574 status = "disabled"; 575 575 }; 576 576 577 - i2c_dvfs: i2c@e60b0000 { 577 + iic_pmic: i2c@e60b0000 { 578 578 #address-cells = <1>; 579 579 #size-cells = <0>; 580 - compatible = "renesas,iic-r8a774c0"; 581 - reg = <0 0xe60b0000 0 0x15>; 580 + compatible = "renesas,iic-r8a774c0", 581 + "renesas,rcar-gen3-iic", 582 + "renesas,rmobile-iic"; 583 + reg = <0 0xe60b0000 0 0x425>; 582 584 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>; 583 585 clocks = <&cpg CPG_MOD 926>; 584 586 power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
-73
arch/arm64/boot/dts/renesas/r8a77950-salvator-x.dts
··· 47 47 clock-names = "du.0", "du.1", "du.2", "du.3", 48 48 "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3"; 49 49 }; 50 - 51 - &ehci2 { 52 - status = "okay"; 53 - }; 54 - 55 - &hdmi1 { 56 - status = "okay"; 57 - 58 - ports { 59 - port@1 { 60 - reg = <1>; 61 - rcar_dw_hdmi1_out: endpoint { 62 - remote-endpoint = <&hdmi1_con>; 63 - }; 64 - }; 65 - port@2 { 66 - reg = <2>; 67 - dw_hdmi1_snd_in: endpoint { 68 - remote-endpoint = <&rsnd_endpoint2>; 69 - }; 70 - }; 71 - }; 72 - }; 73 - 74 - &hdmi1_con { 75 - remote-endpoint = <&rcar_dw_hdmi1_out>; 76 - }; 77 - 78 - &ohci2 { 79 - status = "okay"; 80 - }; 81 - 82 - &pfc { 83 - usb2_pins: usb2 { 84 - groups = "usb2"; 85 - function = "usb2"; 86 - }; 87 - }; 88 - 89 - &rcar_sound { 90 - ports { 91 - /* rsnd_port0/1 are described in salvator-common.dtsi */ 92 - rsnd_port2: port@2 { 93 - reg = <2>; 94 - rsnd_endpoint2: endpoint { 95 - remote-endpoint = <&dw_hdmi1_snd_in>; 96 - 97 - dai-format = "i2s"; 98 - bitclock-master = <&rsnd_endpoint2>; 99 - frame-master = <&rsnd_endpoint2>; 100 - 101 - playback = <&ssi3>; 102 - }; 103 - }; 104 - }; 105 - }; 106 - 107 - &sata { 108 - status = "okay"; 109 - }; 110 - 111 - &sound_card { 112 - dais = <&rsnd_port0 /* ak4613 */ 113 - &rsnd_port1 /* HDMI0 */ 114 - &rsnd_port2>; /* HDMI1 */ 115 - }; 116 - 117 - &usb2_phy2 { 118 - pinctrl-0 = <&usb2_pins>; 119 - pinctrl-names = "default"; 120 - 121 - status = "okay"; 122 - };
+1 -1
arch/arm64/boot/dts/renesas/r8a77950-ulcb-kf.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Device Tree Source for the H3ULCB Kingfisher board 3 + * Device Tree Source for the H3ULCB Kingfisher board with R-Car H3 ES1.x 4 4 * 5 5 * Copyright (C) 2017 Renesas Electronics Corp. 6 6 * Copyright (C) 2017 Cogent Embedded, Inc.
+1 -1
arch/arm64/boot/dts/renesas/r8a77950-ulcb.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Device Tree Source for the H3ULCB (R-Car Starter Kit Premier) board 3 + * Device Tree Source for the H3ULCB (R-Car Starter Kit Premier) board with R-Car H3 ES1.x 4 4 * 5 5 * Copyright (C) 2016 Renesas Electronics Corp. 6 6 * Copyright (C) 2016 Cogent Embedded, Inc.
+2
arch/arm64/boot/dts/renesas/r8a77950.dtsi
··· 7 7 8 8 #include "r8a77951.dtsi" 9 9 10 + #undef SOC_HAS_USB2_CH3 11 + 10 12 &audma0 { 11 13 iommus = <&ipmmu_mp1 0>, <&ipmmu_mp1 1>, 12 14 <&ipmmu_mp1 2>, <&ipmmu_mp1 3>,
-73
arch/arm64/boot/dts/renesas/r8a77951-salvator-x.dts
··· 47 47 clock-names = "du.0", "du.1", "du.2", "du.3", 48 48 "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3"; 49 49 }; 50 - 51 - &ehci2 { 52 - status = "okay"; 53 - }; 54 - 55 - &hdmi1 { 56 - status = "okay"; 57 - 58 - ports { 59 - port@1 { 60 - reg = <1>; 61 - rcar_dw_hdmi1_out: endpoint { 62 - remote-endpoint = <&hdmi1_con>; 63 - }; 64 - }; 65 - port@2 { 66 - reg = <2>; 67 - dw_hdmi1_snd_in: endpoint { 68 - remote-endpoint = <&rsnd_endpoint2>; 69 - }; 70 - }; 71 - }; 72 - }; 73 - 74 - &hdmi1_con { 75 - remote-endpoint = <&rcar_dw_hdmi1_out>; 76 - }; 77 - 78 - &ohci2 { 79 - status = "okay"; 80 - }; 81 - 82 - &pfc { 83 - usb2_pins: usb2 { 84 - groups = "usb2"; 85 - function = "usb2"; 86 - }; 87 - }; 88 - 89 - &rcar_sound { 90 - ports { 91 - /* rsnd_port0/1 are described in salvator-common.dtsi */ 92 - rsnd_port2: port@2 { 93 - reg = <2>; 94 - rsnd_endpoint2: endpoint { 95 - remote-endpoint = <&dw_hdmi1_snd_in>; 96 - 97 - dai-format = "i2s"; 98 - bitclock-master = <&rsnd_endpoint2>; 99 - frame-master = <&rsnd_endpoint2>; 100 - 101 - playback = <&ssi3>; 102 - }; 103 - }; 104 - }; 105 - }; 106 - 107 - &sata { 108 - status = "okay"; 109 - }; 110 - 111 - &sound_card { 112 - dais = <&rsnd_port0 /* ak4613 */ 113 - &rsnd_port1 /* HDMI0 */ 114 - &rsnd_port2>; /* HDMI1 */ 115 - }; 116 - 117 - &usb2_phy2 { 118 - pinctrl-0 = <&usb2_pins>; 119 - pinctrl-names = "default"; 120 - 121 - status = "okay"; 122 - };
-122
arch/arm64/boot/dts/renesas/r8a77951-salvator-xs.dts
··· 47 47 clock-names = "du.0", "du.1", "du.2", "du.3", 48 48 "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3"; 49 49 }; 50 - 51 - &ehci2 { 52 - status = "okay"; 53 - }; 54 - 55 - &ehci3 { 56 - dr_mode = "otg"; 57 - status = "okay"; 58 - }; 59 - 60 - &hdmi1 { 61 - status = "okay"; 62 - 63 - ports { 64 - port@1 { 65 - reg = <1>; 66 - rcar_dw_hdmi1_out: endpoint { 67 - remote-endpoint = <&hdmi1_con>; 68 - }; 69 - }; 70 - port@2 { 71 - reg = <2>; 72 - dw_hdmi1_snd_in: endpoint { 73 - remote-endpoint = <&rsnd_endpoint2>; 74 - }; 75 - }; 76 - }; 77 - }; 78 - 79 - &hdmi1_con { 80 - remote-endpoint = <&rcar_dw_hdmi1_out>; 81 - }; 82 - 83 - &hsusb3 { 84 - dr_mode = "otg"; 85 - status = "okay"; 86 - }; 87 - 88 - &ohci2 { 89 - status = "okay"; 90 - }; 91 - 92 - &ohci3 { 93 - dr_mode = "otg"; 94 - status = "okay"; 95 - }; 96 - 97 - &pca9654 { 98 - pcie-sata-switch-hog { 99 - gpio-hog; 100 - gpios = <7 GPIO_ACTIVE_HIGH>; 101 - output-low; /* enable SATA by default */ 102 - line-name = "PCIE/SATA switch"; 103 - }; 104 - }; 105 - 106 - &pfc { 107 - usb2_pins: usb2 { 108 - groups = "usb2"; 109 - function = "usb2"; 110 - }; 111 - 112 - /* 113 - * - On Salvator-X[S], GP6_3[01] are connected to ADV7482 as irq pins 114 - * (when SW31 is the default setting on Salvator-XS). 115 - * - If SW31 is the default setting, you cannot use USB2.0 ch3 on 116 - * r8a77951 with Salvator-XS. 117 - * Hence the SW31 setting must be changed like 2) below. 118 - * 1) Default setting of SW31: ON-ON-OFF-OFF-OFF-OFF: 119 - * - Connect GP6_3[01] to ADV7842. 120 - * 2) Changed setting of SW31: OFF-OFF-ON-ON-ON-ON: 121 - * - Connect GP6_3[01] to BD082065 (USB2.0 ch3's host power). 122 - * - Connect GP6_{04,21} to ADV7842. 123 - */ 124 - usb2_ch3_pins: usb2_ch3 { 125 - groups = "usb2_ch3"; 126 - function = "usb2_ch3"; 127 - }; 128 - }; 129 - 130 - &rcar_sound { 131 - ports { 132 - /* rsnd_port0/1 are described in salvator-common.dtsi */ 133 - rsnd_port2: port@2 { 134 - reg = <2>; 135 - rsnd_endpoint2: endpoint { 136 - remote-endpoint = <&dw_hdmi1_snd_in>; 137 - 138 - dai-format = "i2s"; 139 - bitclock-master = <&rsnd_endpoint2>; 140 - frame-master = <&rsnd_endpoint2>; 141 - 142 - playback = <&ssi3>; 143 - }; 144 - }; 145 - }; 146 - }; 147 - 148 - /* SW12-7 must be set 'Off' (MD12 set to 1) which is not the default! */ 149 - &sata { 150 - status = "okay"; 151 - }; 152 - 153 - &sound_card { 154 - dais = <&rsnd_port0 /* ak4613 */ 155 - &rsnd_port1 /* HDMI0 */ 156 - &rsnd_port2>; /* HDMI1 */ 157 - }; 158 - 159 - &usb2_phy2 { 160 - pinctrl-0 = <&usb2_pins>; 161 - pinctrl-names = "default"; 162 - 163 - status = "okay"; 164 - }; 165 - 166 - &usb2_phy3 { 167 - pinctrl-0 = <&usb2_ch3_pins>; 168 - pinctrl-names = "default"; 169 - 170 - status = "okay"; 171 - };
+1 -1
arch/arm64/boot/dts/renesas/r8a77951-ulcb-kf.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Device Tree Source for the H3ULCB Kingfisher board 3 + * Device Tree Source for the H3ULCB Kingfisher board with R-Car H3 ES2.0+ 4 4 * 5 5 * Copyright (C) 2017 Renesas Electronics Corp. 6 6 * Copyright (C) 2017 Cogent Embedded, Inc.
+1 -1
arch/arm64/boot/dts/renesas/r8a77951-ulcb.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Device Tree Source for the H3ULCB (R-Car Starter Kit Premier) board 3 + * Device Tree Source for the H3ULCB (R-Car Starter Kit Premier) board with R-Car H3 ES2.0+ 4 4 * 5 5 * Copyright (C) 2016 Renesas Electronics Corp. 6 6 * Copyright (C) 2016 Cogent Embedded, Inc.
+5
arch/arm64/boot/dts/renesas/r8a77951.dtsi
··· 11 11 12 12 #define CPG_AUDIO_CLK_I R8A7795_CLK_S0D4 13 13 14 + #define SOC_HAS_HDMI1 15 + #define SOC_HAS_SATA 16 + #define SOC_HAS_USB2_CH2 17 + #define SOC_HAS_USB2_CH3 18 + 14 19 / { 15 20 compatible = "renesas,r8a7795"; 16 21 #address-cells = <2>;
+1 -1
arch/arm64/boot/dts/renesas/r8a77960-ulcb-kf.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Device Tree Source for the M3ULCB Kingfisher board 3 + * Device Tree Source for the M3ULCB Kingfisher board with R-Car M3-W 4 4 * 5 5 * Copyright (C) 2017 Renesas Electronics Corp. 6 6 * Copyright (C) 2017 Cogent Embedded, Inc.
+1 -1
arch/arm64/boot/dts/renesas/r8a77960-ulcb.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Device Tree Source for the M3ULCB (R-Car Starter Kit Pro) board 3 + * Device Tree Source for the M3ULCB (R-Car Starter Kit Pro) board with R-Car M3-W 4 4 * 5 5 * Copyright (C) 2016 Renesas Electronics Corp. 6 6 * Copyright (C) 2016 Cogent Embedded, Inc.
+1 -1
arch/arm64/boot/dts/renesas/r8a77961-ulcb-kf.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Device Tree Source for the M3ULCB Kingfisher board 3 + * Device Tree Source for the M3ULCB Kingfisher board with R-Car M3-W+ 4 4 * 5 5 * Copyright (C) 2020 Eugeniu Rosca <rosca.eugeniu@gmail.com> 6 6 */
+1 -2
arch/arm64/boot/dts/renesas/r8a77961-ulcb.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Device Tree Source for the M3ULCB (R-Car Starter Kit Pro) board with R-Car 4 - * M3-W+ 3 + * Device Tree Source for the M3ULCB (R-Car Starter Kit Pro) board with R-Car M3-W+ 5 4 * 6 5 * Copyright (C) 2020 Renesas Electronics Corp. 7 6 */
+29
arch/arm64/boot/dts/renesas/r8a77961.dtsi
··· 958 958 resets = <&cpg 219>; 959 959 #dma-cells = <1>; 960 960 dma-channels = <16>; 961 + iommus = <&ipmmu_ds0 0>, <&ipmmu_ds0 1>, 962 + <&ipmmu_ds0 2>, <&ipmmu_ds0 3>, 963 + <&ipmmu_ds0 4>, <&ipmmu_ds0 5>, 964 + <&ipmmu_ds0 6>, <&ipmmu_ds0 7>, 965 + <&ipmmu_ds0 8>, <&ipmmu_ds0 9>, 966 + <&ipmmu_ds0 10>, <&ipmmu_ds0 11>, 967 + <&ipmmu_ds0 12>, <&ipmmu_ds0 13>, 968 + <&ipmmu_ds0 14>, <&ipmmu_ds0 15>; 961 969 }; 962 970 963 971 dmac1: dma-controller@e7300000 { ··· 1000 992 resets = <&cpg 218>; 1001 993 #dma-cells = <1>; 1002 994 dma-channels = <16>; 995 + iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>, 996 + <&ipmmu_ds1 2>, <&ipmmu_ds1 3>, 997 + <&ipmmu_ds1 4>, <&ipmmu_ds1 5>, 998 + <&ipmmu_ds1 6>, <&ipmmu_ds1 7>, 999 + <&ipmmu_ds1 8>, <&ipmmu_ds1 9>, 1000 + <&ipmmu_ds1 10>, <&ipmmu_ds1 11>, 1001 + <&ipmmu_ds1 12>, <&ipmmu_ds1 13>, 1002 + <&ipmmu_ds1 14>, <&ipmmu_ds1 15>; 1003 1003 }; 1004 1004 1005 1005 dmac2: dma-controller@e7310000 { ··· 1042 1026 resets = <&cpg 217>; 1043 1027 #dma-cells = <1>; 1044 1028 dma-channels = <16>; 1029 + iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>, 1030 + <&ipmmu_ds1 18>, <&ipmmu_ds1 19>, 1031 + <&ipmmu_ds1 20>, <&ipmmu_ds1 21>, 1032 + <&ipmmu_ds1 22>, <&ipmmu_ds1 23>, 1033 + <&ipmmu_ds1 24>, <&ipmmu_ds1 25>, 1034 + <&ipmmu_ds1 26>, <&ipmmu_ds1 27>, 1035 + <&ipmmu_ds1 28>, <&ipmmu_ds1 29>, 1036 + <&ipmmu_ds1 30>, <&ipmmu_ds1 31>; 1045 1037 }; 1046 1038 1047 1039 ipmmu_ds0: iommu@e6740000 { ··· 1184 1160 phy-mode = "rgmii"; 1185 1161 rx-internal-delay-ps = <0>; 1186 1162 tx-internal-delay-ps = <0>; 1163 + iommus = <&ipmmu_ds0 16>; 1187 1164 #address-cells = <1>; 1188 1165 #size-cells = <0>; 1189 1166 status = "disabled"; ··· 2305 2280 max-frequency = <200000000>; 2306 2281 power-domains = <&sysc R8A77961_PD_ALWAYS_ON>; 2307 2282 resets = <&cpg 314>; 2283 + iommus = <&ipmmu_ds1 32>; 2308 2284 status = "disabled"; 2309 2285 }; 2310 2286 ··· 2318 2292 max-frequency = <200000000>; 2319 2293 power-domains = <&sysc R8A77961_PD_ALWAYS_ON>; 2320 2294 resets = <&cpg 313>; 2295 + iommus = <&ipmmu_ds1 33>; 2321 2296 status = "disabled"; 2322 2297 }; 2323 2298 ··· 2331 2304 max-frequency = <200000000>; 2332 2305 power-domains = <&sysc R8A77961_PD_ALWAYS_ON>; 2333 2306 resets = <&cpg 312>; 2307 + iommus = <&ipmmu_ds1 34>; 2334 2308 status = "disabled"; 2335 2309 }; 2336 2310 ··· 2344 2316 max-frequency = <200000000>; 2345 2317 power-domains = <&sysc R8A77961_PD_ALWAYS_ON>; 2346 2318 resets = <&cpg 311>; 2319 + iommus = <&ipmmu_ds1 35>; 2347 2320 status = "disabled"; 2348 2321 }; 2349 2322
-14
arch/arm64/boot/dts/renesas/r8a77965-salvator-xs.dts
··· 30 30 clock-names = "du.0", "du.1", "du.3", 31 31 "dclkin.0", "dclkin.1", "dclkin.3"; 32 32 }; 33 - 34 - &pca9654 { 35 - pcie-sata-switch-hog { 36 - gpio-hog; 37 - gpios = <7 GPIO_ACTIVE_HIGH>; 38 - output-low; /* enable SATA by default */ 39 - line-name = "PCIE/SATA switch"; 40 - }; 41 - }; 42 - 43 - /* SW12-7 must be set 'Off' (MD12 set to 1) which is not the default! */ 44 - &sata { 45 - status = "okay"; 46 - };
+1 -1
arch/arm64/boot/dts/renesas/r8a77965-ulcb-kf.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Device Tree Source for the M3NULCB Kingfisher board 3 + * Device Tree Source for the M3NULCB Kingfisher board with R-Car M3-N 4 4 * 5 5 * Copyright (C) 2018 Renesas Electronics Corp. 6 6 * Copyright (C) 2018 Cogent Embedded, Inc.
+1 -1
arch/arm64/boot/dts/renesas/r8a77965-ulcb.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Device Tree Source for the M3NULCB (R-Car Starter Kit Pro) board 3 + * Device Tree Source for the M3NULCB (R-Car Starter Kit Pro) board with R-Car M3-N 4 4 * 5 5 * Copyright (C) 2018 Renesas Electronics Corp. 6 6 * Copyright (C) 2018 Cogent Embedded, Inc.
+2
arch/arm64/boot/dts/renesas/r8a77965.dtsi
··· 14 14 15 15 #define CPG_AUDIO_CLK_I R8A77965_CLK_S0D4 16 16 17 + #define SOC_HAS_SATA 18 + 17 19 / { 18 20 compatible = "renesas,r8a77965"; 19 21 #address-cells = <2>;
+1 -1
arch/arm64/boot/dts/renesas/r8a77970-eagle.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Device Tree Source for the Eagle board 3 + * Device Tree Source for the Eagle board with R-Car V3M 4 4 * 5 5 * Copyright (C) 2016-2017 Renesas Electronics Corp. 6 6 * Copyright (C) 2017 Cogent Embedded, Inc.
+1 -1
arch/arm64/boot/dts/renesas/r8a77980-condor.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Device Tree Source for the Condor board 3 + * Device Tree Source for the Condor board with R-Car V3H 4 4 * 5 5 * Copyright (C) 2018 Renesas Electronics Corp. 6 6 * Copyright (C) 2018 Cogent Embedded, Inc.
+49 -1
arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Device Tree Source for the ebisu board 3 + * Device Tree Source for the Ebisu board with R-Car E3 4 4 * 5 5 * Copyright (C) 2018 Renesas Electronics Corp. 6 6 */ ··· 8 8 /dts-v1/; 9 9 #include "r8a77990.dtsi" 10 10 #include <dt-bindings/gpio/gpio.h> 11 + #include <dt-bindings/input/input.h> 11 12 12 13 / { 13 14 model = "Renesas Ebisu board based on r8a77990"; ··· 78 77 hdmi_con_out: endpoint { 79 78 remote-endpoint = <&adv7511_out>; 80 79 }; 80 + }; 81 + }; 82 + 83 + keys { 84 + compatible = "gpio-keys"; 85 + 86 + pinctrl-0 = <&keys_pins>; 87 + pinctrl-names = "default"; 88 + 89 + key-1 { 90 + gpios = <&gpio5 10 GPIO_ACTIVE_LOW>; 91 + linux,code = <KEY_1>; 92 + label = "SW4-1"; 93 + wakeup-source; 94 + debounce-interval = <20>; 95 + }; 96 + key-2 { 97 + gpios = <&gpio5 11 GPIO_ACTIVE_LOW>; 98 + linux,code = <KEY_2>; 99 + label = "SW4-2"; 100 + wakeup-source; 101 + debounce-interval = <20>; 102 + }; 103 + key-3 { 104 + gpios = <&gpio5 12 GPIO_ACTIVE_LOW>; 105 + linux,code = <KEY_3>; 106 + label = "SW4-3"; 107 + wakeup-source; 108 + debounce-interval = <20>; 109 + }; 110 + key-4 { 111 + gpios = <&gpio5 13 GPIO_ACTIVE_LOW>; 112 + linux,code = <KEY_4>; 113 + label = "SW4-4"; 114 + wakeup-source; 115 + debounce-interval = <20>; 81 116 }; 82 117 }; 83 118 ··· 510 473 rohm,ddr-backup-power = <0x1>; 511 474 rohm,rstbmode-level; 512 475 }; 476 + 477 + eeprom@50 { 478 + compatible = "rohm,br24t01", "atmel,24c01"; 479 + reg = <0x50>; 480 + pagesize = <8>; 481 + }; 513 482 }; 514 483 515 484 &lvds0 { ··· 581 538 irq0_pins: irq0 { 582 539 groups = "intc_ex_irq0"; 583 540 function = "intc_ex"; 541 + }; 542 + 543 + keys_pins: keys { 544 + pins = "GP_5_10", "GP_5_11", "GP_5_12", "GP_5_13"; 545 + bias-pull-up; 584 546 }; 585 547 586 548 pwm3_pins: pwm3 {
+4 -2
arch/arm64/boot/dts/renesas/r8a77990.dtsi
··· 290 290 i2c_dvfs: i2c@e60b0000 { 291 291 #address-cells = <1>; 292 292 #size-cells = <0>; 293 - compatible = "renesas,iic-r8a77990"; 294 - reg = <0 0xe60b0000 0 0x15>; 293 + compatible = "renesas,iic-r8a77990", 294 + "renesas,rcar-gen3-iic", 295 + "renesas,rmobile-iic"; 296 + reg = <0 0xe60b0000 0 0x425>; 295 297 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>; 296 298 clocks = <&cpg CPG_MOD 926>; 297 299 power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
+164 -5
arch/arm64/boot/dts/renesas/r8a77995-draak.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Device Tree Source for the Draak board 3 + * Device Tree Source for the Draak board with R-Car D3 4 4 * 5 5 * Copyright (C) 2016-2018 Renesas Electronics Corp. 6 6 * Copyright (C) 2017 Glider bvba ··· 9 9 /dts-v1/; 10 10 #include "r8a77995.dtsi" 11 11 #include <dt-bindings/gpio/gpio.h> 12 + #include <dt-bindings/input/input.h> 12 13 13 14 / { 14 15 model = "Renesas Draak board based on r8a77995"; ··· 18 17 aliases { 19 18 serial0 = &scif2; 20 19 ethernet0 = &avb; 20 + }; 21 + 22 + audio_clkout: audio-clkout { 23 + /* 24 + * This is same as <&rcar_sound 0> 25 + * but needed to avoid cs2000/rcar_sound probe dead-lock 26 + */ 27 + compatible = "fixed-clock"; 28 + #clock-cells = <0>; 29 + clock-frequency = <12288000>; 21 30 }; 22 31 23 32 backlight: backlight { ··· 75 64 hdmi_con_out: endpoint { 76 65 remote-endpoint = <&adv7511_out>; 77 66 }; 67 + }; 68 + }; 69 + 70 + keys { 71 + compatible = "gpio-keys"; 72 + 73 + pinctrl-0 = <&keys_pins>; 74 + pinctrl-names = "default"; 75 + 76 + key-1 { 77 + gpios = <&gpio4 12 GPIO_ACTIVE_LOW>; 78 + linux,code = <KEY_1>; 79 + label = "SW56-1"; 80 + wakeup-source; 81 + debounce-interval = <20>; 82 + }; 83 + key-2 { 84 + gpios = <&gpio4 13 GPIO_ACTIVE_LOW>; 85 + linux,code = <KEY_2>; 86 + label = "SW56-2"; 87 + wakeup-source; 88 + debounce-interval = <20>; 89 + }; 90 + key-3 { 91 + gpios = <&gpio4 14 GPIO_ACTIVE_LOW>; 92 + linux,code = <KEY_3>; 93 + label = "SW56-3"; 94 + wakeup-source; 95 + debounce-interval = <20>; 96 + }; 97 + key-4 { 98 + gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; 99 + linux,code = <KEY_4>; 100 + label = "SW56-4"; 101 + wakeup-source; 102 + debounce-interval = <20>; 78 103 }; 79 104 }; 80 105 ··· 171 124 regulator-always-on; 172 125 }; 173 126 127 + sound_card: sound { 128 + compatible = "audio-graph-card"; 129 + 130 + dais = <&rsnd_port0 /* ak4613 */ 131 + /* HDMI is not yet supported */ 132 + >; 133 + }; 134 + 174 135 vga { 175 136 compatible = "vga-connector"; 176 137 ··· 216 161 #clock-cells = <0>; 217 162 clock-frequency = <74250000>; 218 163 }; 164 + 165 + x19_clk: x19 { 166 + compatible = "fixed-clock"; 167 + #clock-cells = <0>; 168 + clock-frequency = <24576000>; 169 + }; 170 + }; 171 + 172 + &audio_clk_b { 173 + /* 174 + * X11 is connected to VI4_FIELD/SCIF_CLK/AUDIO_CLKB, 175 + * and R-Car Sound uses AUDIO_CLKB. 176 + * Note is that schematic indicates VI4_FIELD conection only 177 + * not AUDIO_CLKB at SoC page. 178 + * And this VI4_FIELD/SCIF_CLK/AUDIO_CLKB is connected to SW60. 179 + * SW60 should be 1-2. 180 + */ 181 + 182 + clock-frequency = <22579200>; 219 183 }; 220 184 221 185 &avb { ··· 310 236 pinctrl-names = "default"; 311 237 status = "okay"; 312 238 239 + ak4613: codec@10 { 240 + compatible = "asahi-kasei,ak4613"; 241 + #sound-dai-cells = <0>; 242 + reg = <0x10>; 243 + clocks = <&rcar_sound 0>; /* audio_clkout */ 244 + 245 + asahi-kasei,in1-single-end; 246 + asahi-kasei,in2-single-end; 247 + asahi-kasei,out1-single-end; 248 + asahi-kasei,out2-single-end; 249 + asahi-kasei,out3-single-end; 250 + asahi-kasei,out4-single-end; 251 + asahi-kasei,out5-single-end; 252 + asahi-kasei,out6-single-end; 253 + 254 + port { 255 + ak4613_endpoint: endpoint { 256 + remote-endpoint = <&rsnd_for_ak4613>; 257 + }; 258 + }; 259 + }; 260 + 313 261 composite-in@20 { 314 262 compatible = "adi,adv7180cp"; 315 263 reg = <0x20>; ··· 372 276 reg-names = "main", "edid", "cec", "packet"; 373 277 interrupt-parent = <&gpio1>; 374 278 interrupts = <28 IRQ_TYPE_LEVEL_LOW>; 375 - 376 - /* Depends on LVDS */ 377 - max-clock = <135000000>; 378 - min-vrefresh = <50>; 379 279 380 280 adi,input-depth = <8>; 381 281 adi,input-colorspace = "rgb"; ··· 432 340 }; 433 341 }; 434 342 }; 343 + }; 344 + 345 + cs2000: clk-multiplier@4f { 346 + #clock-cells = <0>; 347 + compatible = "cirrus,cs2000-cp"; 348 + reg = <0x4f>; 349 + clocks = <&audio_clkout>, <&x19_clk>; /* audio_clkout_1, x19 */ 350 + clock-names = "clk_in", "ref_clk"; 351 + 352 + assigned-clocks = <&cs2000>; 353 + assigned-clock-rates = <24576000>; /* 1/1 divide */ 435 354 }; 436 355 437 356 eeprom@50 { ··· 525 422 function = "i2c1"; 526 423 }; 527 424 425 + keys_pins: keys { 426 + pins = "GP_4_12", "GP_4_13", "GP_4_14", "GP_4_15"; 427 + bias-pull-up; 428 + }; 429 + 528 430 pwm0_pins: pwm0 { 529 431 groups = "pwm0_c"; 530 432 function = "pwm0"; ··· 557 449 power-source = <1800>; 558 450 }; 559 451 452 + sound_pins: sound { 453 + groups = "ssi34_ctrl", "ssi3_data", "ssi4_data_a"; 454 + function = "ssi"; 455 + }; 456 + 457 + sound_clk_pins: sound-clk { 458 + groups = "audio_clk_a", "audio_clk_b", 459 + "audio_clkout", "audio_clkout1"; 460 + function = "audio_clk"; 461 + }; 462 + 560 463 usb0_pins: usb0 { 561 464 groups = "usb0"; 562 465 function = "usb0"; ··· 591 472 pinctrl-names = "default"; 592 473 593 474 status = "okay"; 475 + }; 476 + 477 + &rcar_sound { 478 + pinctrl-0 = <&sound_pins>, <&sound_clk_pins>; 479 + pinctrl-names = "default"; 480 + 481 + /* Single DAI */ 482 + #sound-dai-cells = <0>; 483 + 484 + /* audio_clkout0/1 */ 485 + #clock-cells = <1>; 486 + clock-frequency = <12288000 11289600>; 487 + 488 + status = "okay"; 489 + 490 + clocks = <&cpg CPG_MOD 1005>, 491 + <&cpg CPG_MOD 1011>, <&cpg CPG_MOD 1012>, 492 + <&cpg CPG_MOD 1025>, <&cpg CPG_MOD 1026>, 493 + <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>, 494 + <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>, 495 + <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>, 496 + <&cs2000>, <&audio_clk_b>, 497 + <&cpg CPG_CORE R8A77995_CLK_ZA2>; 498 + 499 + ports { 500 + rsnd_port0: port { 501 + rsnd_for_ak4613: endpoint { 502 + remote-endpoint = <&ak4613_endpoint>; 503 + dai-format = "left_j"; 504 + bitclock-master = <&rsnd_for_ak4613>; 505 + frame-master = <&rsnd_for_ak4613>; 506 + playback = <&ssi3>, <&src5>, <&dvc0>; 507 + capture = <&ssi4>, <&src6>, <&dvc1>; 508 + }; 509 + }; 510 + }; 594 511 }; 595 512 596 513 &rwdt { ··· 655 500 no-sdio; 656 501 non-removable; 657 502 status = "okay"; 503 + }; 504 + 505 + &ssi4 { 506 + shared-pin; 658 507 }; 659 508 660 509 &usb2_phy0 {
+158
arch/arm64/boot/dts/renesas/r8a77995.dtsi
··· 15 15 #address-cells = <2>; 16 16 #size-cells = <2>; 17 17 18 + /* 19 + * The external audio clocks are configured as 0 Hz fixed frequency 20 + * clocks by default. 21 + * Boards that provide audio clocks should override them. 22 + */ 23 + audio_clk_a: audio_clk_a { 24 + compatible = "fixed-clock"; 25 + #clock-cells = <0>; 26 + clock-frequency = <0>; 27 + }; 28 + 29 + audio_clk_b: audio_clk_b { 30 + compatible = "fixed-clock"; 31 + #clock-cells = <0>; 32 + clock-frequency = <0>; 33 + }; 34 + 18 35 /* External CAN clock - to be overridden by boards that provide it */ 19 36 can_clk: can { 20 37 compatible = "fixed-clock"; ··· 1031 1014 resets = <&cpg 807>; 1032 1015 renesas,id = <4>; 1033 1016 status = "disabled"; 1017 + }; 1018 + 1019 + rcar_sound: sound@ec500000 { 1020 + /* 1021 + * #sound-dai-cells is required 1022 + * 1023 + * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>; 1024 + * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>; 1025 + */ 1026 + /* 1027 + * #clock-cells is required for audio_clkout0/1/2/3 1028 + * 1029 + * clkout : #clock-cells = <0>; <&rcar_sound>; 1030 + * clkout0/1/2/3: #clock-cells = <1>; <&rcar_sound N>; 1031 + */ 1032 + compatible = "renesas,rcar_sound-r8a77995", "renesas,rcar_sound-gen3"; 1033 + reg = <0 0xec500000 0 0x1000>, /* SCU */ 1034 + <0 0xec5a0000 0 0x100>, /* ADG */ 1035 + <0 0xec540000 0 0x1000>, /* SSIU */ 1036 + <0 0xec541000 0 0x280>, /* SSI */ 1037 + <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/ 1038 + reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; 1039 + 1040 + clocks = <&cpg CPG_MOD 1005>, 1041 + <&cpg CPG_MOD 1011>, <&cpg CPG_MOD 1012>, 1042 + <&cpg CPG_MOD 1025>, <&cpg CPG_MOD 1026>, 1043 + <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>, 1044 + <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>, 1045 + <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>, 1046 + <&audio_clk_a>, <&audio_clk_b>, 1047 + <&cpg CPG_CORE R8A77995_CLK_ZA2>; 1048 + clock-names = "ssi-all", 1049 + "ssi.4", "ssi.3", 1050 + "src.6", "src.5", 1051 + "mix.1", "mix.0", 1052 + "ctu.1", "ctu.0", 1053 + "dvc.0", "dvc.1", 1054 + "clk_a", "clk_b", "clk_i"; 1055 + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; 1056 + resets = <&cpg 1005>, 1057 + <&cpg 1011>, <&cpg 1012>; 1058 + reset-names = "ssi-all", 1059 + "ssi.4", "ssi.3"; 1060 + status = "disabled"; 1061 + 1062 + rcar_sound,ctu { 1063 + ctu00: ctu-0 { }; 1064 + ctu01: ctu-1 { }; 1065 + ctu02: ctu-2 { }; 1066 + ctu03: ctu-3 { }; 1067 + ctu10: ctu-4 { }; 1068 + ctu11: ctu-5 { }; 1069 + ctu12: ctu-6 { }; 1070 + ctu13: ctu-7 { }; 1071 + }; 1072 + 1073 + rcar_sound,dvc { 1074 + dvc0: dvc-0 { 1075 + dmas = <&audma0 0xbc>; 1076 + dma-names = "tx"; 1077 + }; 1078 + dvc1: dvc-1 { 1079 + dmas = <&audma0 0xbe>; 1080 + dma-names = "tx"; 1081 + }; 1082 + }; 1083 + 1084 + rcar_sound,mix { 1085 + mix0: mix-0 { }; 1086 + mix1: mix-1 { }; 1087 + }; 1088 + 1089 + rcar_sound,src { 1090 + src5: src-5 { 1091 + interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>; 1092 + dmas = <&audma0 0x8f>, <&audma0 0xb2>; 1093 + dma-names = "rx", "tx"; 1094 + }; 1095 + src6: src-6 { 1096 + interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>; 1097 + dmas = <&audma0 0x91>, <&audma0 0xb4>; 1098 + dma-names = "rx", "tx"; 1099 + }; 1100 + }; 1101 + 1102 + rcar_sound,ssi { 1103 + ssi3: ssi-3 { 1104 + interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>; 1105 + dmas = <&audma0 0x07>, <&audma0 0x08>, 1106 + <&audma0 0x6f>, <&audma0 0x70>; 1107 + dma-names = "rx", "tx", "rxu", "txu"; 1108 + }; 1109 + ssi4: ssi-4 { 1110 + interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>; 1111 + dmas = <&audma0 0x09>, <&audma0 0x0a>, 1112 + <&audma0 0x71>, <&audma0 0x72>; 1113 + dma-names = "rx", "tx", "rxu", "txu"; 1114 + }; 1115 + }; 1116 + }; 1117 + 1118 + audma0: dma-controller@ec700000 { 1119 + compatible = "renesas,dmac-r8a77995", 1120 + "renesas,rcar-dmac"; 1121 + reg = <0 0xec700000 0 0x10000>; 1122 + interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH>, 1123 + <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>, 1124 + <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>, 1125 + <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>, 1126 + <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>, 1127 + <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>, 1128 + <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>, 1129 + <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>, 1130 + <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>, 1131 + <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>, 1132 + <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>, 1133 + <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>, 1134 + <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>, 1135 + <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>, 1136 + <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>, 1137 + <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>, 1138 + <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>; 1139 + interrupt-names = "error", 1140 + "ch0", "ch1", "ch2", "ch3", 1141 + "ch4", "ch5", "ch6", "ch7", 1142 + "ch8", "ch9", "ch10", "ch11", 1143 + "ch12", "ch13", "ch14", "ch15"; 1144 + clocks = <&cpg CPG_MOD 502>; 1145 + clock-names = "fck"; 1146 + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; 1147 + resets = <&cpg 502>; 1148 + #dma-cells = <1>; 1149 + dma-channels = <16>; 1150 + iommus = <&ipmmu_mp 0>, <&ipmmu_mp 1>, 1151 + <&ipmmu_mp 2>, <&ipmmu_mp 3>, 1152 + <&ipmmu_mp 4>, <&ipmmu_mp 5>, 1153 + <&ipmmu_mp 6>, <&ipmmu_mp 7>, 1154 + <&ipmmu_mp 8>, <&ipmmu_mp 9>, 1155 + <&ipmmu_mp 10>, <&ipmmu_mp 11>, 1156 + <&ipmmu_mp 12>, <&ipmmu_mp 13>, 1157 + <&ipmmu_mp 14>, <&ipmmu_mp 15>; 1034 1158 }; 1035 1159 1036 1160 ohci0: usb@ee080000 {
+1 -1
arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Device Tree Source for the Falcon CPU and BreakOut boards 3 + * Device Tree Source for the Falcon CPU and BreakOut boards with R-Car V3U 4 4 * 5 5 * Copyright (C) 2020 Renesas Electronics Corp. 6 6 */
+13 -13
arch/arm64/boot/dts/renesas/r8a779a0.dtsi
··· 327 327 #power-domain-cells = <1>; 328 328 }; 329 329 330 + tsc: thermal@e6190000 { 331 + compatible = "renesas,r8a779a0-thermal"; 332 + reg = <0 0xe6190000 0 0x200>, 333 + <0 0xe6198000 0 0x200>, 334 + <0 0xe61a0000 0 0x200>, 335 + <0 0xe61a8000 0 0x200>, 336 + <0 0xe61b0000 0 0x200>; 337 + clocks = <&cpg CPG_MOD 919>; 338 + power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; 339 + resets = <&cpg 919>; 340 + #thermal-sensor-cells = <1>; 341 + }; 342 + 330 343 tmu0: timer@e61e0000 { 331 344 compatible = "renesas,tmu-r8a779a0", "renesas,tmu"; 332 345 reg = <0 0xe61e0000 0 0x30>; ··· 403 390 power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; 404 391 resets = <&cpg 717>; 405 392 status = "disabled"; 406 - }; 407 - 408 - tsc: thermal@e6190000 { 409 - compatible = "renesas,r8a779a0-thermal"; 410 - reg = <0 0xe6190000 0 0x200>, 411 - <0 0xe6198000 0 0x200>, 412 - <0 0xe61a0000 0 0x200>, 413 - <0 0xe61a8000 0 0x200>, 414 - <0 0xe61b0000 0 0x200>; 415 - clocks = <&cpg CPG_MOD 919>; 416 - power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; 417 - resets = <&cpg 919>; 418 - #thermal-sensor-cells = <1>; 419 393 }; 420 394 421 395 i2c0: i2c@e6500000 {
+53
arch/arm64/boot/dts/renesas/r8a779m1-salvator-xs.dts
··· 1 + // SPDX-License-Identifier: (GPL-2.0 or MIT) 2 + /* 3 + * Device Tree Source for the Salvator-X 2nd version board with R-Car H3e-2G 4 + * 5 + * Copyright (C) 2021 Glider bv 6 + * 7 + * Based on r8a77951-salvator-xs.dts 8 + * Copyright (C) 2015-2017 Renesas Electronics Corp. 9 + */ 10 + 11 + /dts-v1/; 12 + #include "r8a779m1.dtsi" 13 + #include "salvator-xs.dtsi" 14 + 15 + / { 16 + model = "Renesas Salvator-X 2nd version board based on r8a779m1"; 17 + compatible = "renesas,salvator-xs", "renesas,r8a779m1", 18 + "renesas,r8a7795"; 19 + 20 + memory@48000000 { 21 + device_type = "memory"; 22 + /* first 128MB is reserved for secure area. */ 23 + reg = <0x0 0x48000000 0x0 0x38000000>; 24 + }; 25 + 26 + memory@500000000 { 27 + device_type = "memory"; 28 + reg = <0x5 0x00000000 0x0 0x40000000>; 29 + }; 30 + 31 + memory@600000000 { 32 + device_type = "memory"; 33 + reg = <0x6 0x00000000 0x0 0x40000000>; 34 + }; 35 + 36 + memory@700000000 { 37 + device_type = "memory"; 38 + reg = <0x7 0x00000000 0x0 0x40000000>; 39 + }; 40 + }; 41 + 42 + &du { 43 + clocks = <&cpg CPG_MOD 724>, 44 + <&cpg CPG_MOD 723>, 45 + <&cpg CPG_MOD 722>, 46 + <&cpg CPG_MOD 721>, 47 + <&versaclock6 1>, 48 + <&x21_clk>, 49 + <&x22_clk>, 50 + <&versaclock6 2>; 51 + clock-names = "du.0", "du.1", "du.2", "du.3", 52 + "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3"; 53 + };
+19
arch/arm64/boot/dts/renesas/r8a779m1-ulcb-kf.dts
··· 1 + // SPDX-License-Identifier: (GPL-2.0 or MIT) 2 + /* 3 + * Device Tree Source for the H3ULCB Kingfisher board with R-Car H3e-2G 4 + * 5 + * Copyright (C) 2021 Glider bv 6 + * 7 + * Based on r8a77951-ulcb-kf.dts 8 + * Copyright (C) 2017 Renesas Electronics Corp. 9 + * Copyright (C) 2017 Cogent Embedded, Inc. 10 + */ 11 + 12 + #include "r8a779m1-ulcb.dts" 13 + #include "ulcb-kf.dtsi" 14 + 15 + / { 16 + model = "Renesas H3ULCB Kingfisher board based on r8a779m1"; 17 + compatible = "shimafuji,kingfisher", "renesas,h3ulcb", 18 + "renesas,r8a779m1", "renesas,r8a7795"; 19 + };
+54
arch/arm64/boot/dts/renesas/r8a779m1-ulcb.dts
··· 1 + // SPDX-License-Identifier: (GPL-2.0 or MIT) 2 + /* 3 + * Device Tree Source for the H3ULCB (R-Car Starter Kit Premier) with R-Car H3e-2G 4 + * 5 + * Copyright (C) 2021 Glider bv 6 + * 7 + * Based on r8a77951-ulcb.dts 8 + * 9 + * Copyright (C) 2016 Renesas Electronics Corp. 10 + * Copyright (C) 2016 Cogent Embedded, Inc. 11 + */ 12 + 13 + /dts-v1/; 14 + #include "r8a779m1.dtsi" 15 + #include "ulcb.dtsi" 16 + 17 + / { 18 + model = "Renesas H3ULCB board based on r8a779m1"; 19 + compatible = "renesas,h3ulcb", "renesas,r8a779m1", "renesas,r8a7795"; 20 + 21 + memory@48000000 { 22 + device_type = "memory"; 23 + /* first 128MB is reserved for secure area. */ 24 + reg = <0x0 0x48000000 0x0 0x38000000>; 25 + }; 26 + 27 + memory@500000000 { 28 + device_type = "memory"; 29 + reg = <0x5 0x00000000 0x0 0x40000000>; 30 + }; 31 + 32 + memory@600000000 { 33 + device_type = "memory"; 34 + reg = <0x6 0x00000000 0x0 0x40000000>; 35 + }; 36 + 37 + memory@700000000 { 38 + device_type = "memory"; 39 + reg = <0x7 0x00000000 0x0 0x40000000>; 40 + }; 41 + }; 42 + 43 + &du { 44 + clocks = <&cpg CPG_MOD 724>, 45 + <&cpg CPG_MOD 723>, 46 + <&cpg CPG_MOD 722>, 47 + <&cpg CPG_MOD 721>, 48 + <&versaclock5 1>, 49 + <&versaclock5 3>, 50 + <&versaclock5 4>, 51 + <&versaclock5 2>; 52 + clock-names = "du.0", "du.1", "du.2", "du.3", 53 + "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3"; 54 + };
+12
arch/arm64/boot/dts/renesas/r8a779m1.dtsi
··· 1 + // SPDX-License-Identifier: (GPL-2.0 or MIT) 2 + /* 3 + * Device Tree Source for the R-Car H3e-2G (R8A779M1) SoC 4 + * 5 + * Copyright (C) 2021 Glider bv 6 + */ 7 + 8 + #include "r8a77951.dtsi" 9 + 10 + / { 11 + compatible = "renesas,r8a779m1", "renesas,r8a7795"; 12 + };
+46
arch/arm64/boot/dts/renesas/r8a779m3-salvator-xs.dts
··· 1 + // SPDX-License-Identifier: (GPL-2.0 or MIT) 2 + /* 3 + * Device Tree Source for the Salvator-X 2nd version board with R-Car M3e-2G 4 + * 5 + * Copyright (C) 2021 Glider bv 6 + * 7 + * Based on r8a77961-salvator-xs.dts 8 + * Copyright (C) 2018 Renesas Electronics Corp. 9 + */ 10 + 11 + /dts-v1/; 12 + #include "r8a779m3.dtsi" 13 + #include "salvator-xs.dtsi" 14 + 15 + / { 16 + model = "Renesas Salvator-X 2nd version board based on r8a779m3"; 17 + compatible = "renesas,salvator-xs", "renesas,r8a779m3", 18 + "renesas,r8a77961"; 19 + 20 + memory@48000000 { 21 + device_type = "memory"; 22 + /* first 128MB is reserved for secure area. */ 23 + reg = <0x0 0x48000000 0x0 0x78000000>; 24 + }; 25 + 26 + memory@480000000 { 27 + device_type = "memory"; 28 + reg = <0x4 0x80000000 0x0 0x80000000>; 29 + }; 30 + 31 + memory@600000000 { 32 + device_type = "memory"; 33 + reg = <0x6 0x00000000 0x1 0x00000000>; 34 + }; 35 + }; 36 + 37 + &du { 38 + clocks = <&cpg CPG_MOD 724>, 39 + <&cpg CPG_MOD 723>, 40 + <&cpg CPG_MOD 722>, 41 + <&versaclock6 1>, 42 + <&x21_clk>, 43 + <&versaclock6 2>; 44 + clock-names = "du.0", "du.1", "du.2", 45 + "dclkin.0", "dclkin.1", "dclkin.2"; 46 + };
+18
arch/arm64/boot/dts/renesas/r8a779m3-ulcb-kf.dts
··· 1 + // SPDX-License-Identifier: (GPL-2.0 or MIT) 2 + /* 3 + * Device Tree Source for the M3ULCB Kingfisher board with R-Car M3e-2G 4 + * 5 + * Copyright (C) 2021 Glider bv 6 + * 7 + * Based on r8a77961-ulcb-kf.dts 8 + * Copyright (C) 2020 Eugeniu Rosca <rosca.eugeniu@gmail.com> 9 + */ 10 + 11 + #include "r8a779m3-ulcb.dts" 12 + #include "ulcb-kf.dtsi" 13 + 14 + / { 15 + model = "Renesas M3ULCB Kingfisher board based on r8a779m3"; 16 + compatible = "shimafuji,kingfisher", "renesas,m3ulcb", 17 + "renesas,r8a779m3", "renesas,r8a77961"; 18 + };
+45
arch/arm64/boot/dts/renesas/r8a779m3-ulcb.dts
··· 1 + // SPDX-License-Identifier: (GPL-2.0 or MIT) 2 + /* 3 + * Device Tree Source for the M3ULCB (R-Car Starter Kit Pro) with R-Car M3e-2G 4 + * 5 + * Copyright (C) 2021 Glider bv 6 + * 7 + * Based on r8a77961-ulcb.dts 8 + * Copyright (C) 2020 Renesas Electronics Corp. 9 + */ 10 + 11 + /dts-v1/; 12 + #include "r8a779m3.dtsi" 13 + #include "ulcb.dtsi" 14 + 15 + / { 16 + model = "Renesas M3ULCB board based on r8a779m3"; 17 + compatible = "renesas,m3ulcb", "renesas,r8a779m3", "renesas,r8a77961"; 18 + 19 + memory@48000000 { 20 + device_type = "memory"; 21 + /* first 128MB is reserved for secure area. */ 22 + reg = <0x0 0x48000000 0x0 0x78000000>; 23 + }; 24 + 25 + memory@480000000 { 26 + device_type = "memory"; 27 + reg = <0x4 0x80000000 0x0 0x80000000>; 28 + }; 29 + 30 + memory@600000000 { 31 + device_type = "memory"; 32 + reg = <0x6 0x00000000 0x1 0x00000000>; 33 + }; 34 + }; 35 + 36 + &du { 37 + clocks = <&cpg CPG_MOD 724>, 38 + <&cpg CPG_MOD 723>, 39 + <&cpg CPG_MOD 722>, 40 + <&versaclock5 1>, 41 + <&versaclock5 3>, 42 + <&versaclock5 2>; 43 + clock-names = "du.0", "du.1", "du.2", 44 + "dclkin.0", "dclkin.1", "dclkin.2"; 45 + };
+12
arch/arm64/boot/dts/renesas/r8a779m3.dtsi
··· 1 + // SPDX-License-Identifier: (GPL-2.0 or MIT) 2 + /* 3 + * Device Tree Source for the R-Car M3e-2G (R8A779M3) SoC 4 + * 5 + * Copyright (C) 2021 Glider bv 6 + */ 7 + 8 + #include "r8a77961.dtsi" 9 + 10 + / { 11 + compatible = "renesas,r8a779m3", "renesas,r8a77961"; 12 + };
+80
arch/arm64/boot/dts/renesas/r9a07g044.dtsi
··· 89 89 status = "disabled"; 90 90 }; 91 91 92 + i2c0: i2c@10058000 { 93 + #address-cells = <1>; 94 + #size-cells = <0>; 95 + compatible = "renesas,riic-r9a07g044", "renesas,riic-rz"; 96 + reg = <0 0x10058000 0 0x400>; 97 + interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH>, 98 + <GIC_SPI 348 IRQ_TYPE_EDGE_RISING>, 99 + <GIC_SPI 349 IRQ_TYPE_EDGE_RISING>, 100 + <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>, 101 + <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>, 102 + <GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH>, 103 + <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>, 104 + <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>; 105 + clocks = <&cpg CPG_MOD R9A07G044_I2C0_PCLK>; 106 + clock-frequency = <100000>; 107 + resets = <&cpg R9A07G044_I2C0_MRST>; 108 + power-domains = <&cpg>; 109 + status = "disabled"; 110 + }; 111 + 112 + i2c1: i2c@10058400 { 113 + #address-cells = <1>; 114 + #size-cells = <0>; 115 + compatible = "renesas,riic-r9a07g044", "renesas,riic-rz"; 116 + reg = <0 0x10058400 0 0x400>; 117 + interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>, 118 + <GIC_SPI 356 IRQ_TYPE_EDGE_RISING>, 119 + <GIC_SPI 357 IRQ_TYPE_EDGE_RISING>, 120 + <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>, 121 + <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>, 122 + <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>, 123 + <GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH>, 124 + <GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH>; 125 + clocks = <&cpg CPG_MOD R9A07G044_I2C1_PCLK>; 126 + clock-frequency = <100000>; 127 + resets = <&cpg R9A07G044_I2C1_MRST>; 128 + power-domains = <&cpg>; 129 + status = "disabled"; 130 + }; 131 + 132 + i2c2: i2c@10058800 { 133 + #address-cells = <1>; 134 + #size-cells = <0>; 135 + compatible = "renesas,riic-r9a07g044", "renesas,riic-rz"; 136 + reg = <0 0x10058800 0 0x400>; 137 + interrupts = <GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH>, 138 + <GIC_SPI 364 IRQ_TYPE_EDGE_RISING>, 139 + <GIC_SPI 365 IRQ_TYPE_EDGE_RISING>, 140 + <GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>, 141 + <GIC_SPI 369 IRQ_TYPE_LEVEL_HIGH>, 142 + <GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH>, 143 + <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>, 144 + <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>; 145 + clocks = <&cpg CPG_MOD R9A07G044_I2C2_PCLK>; 146 + clock-frequency = <100000>; 147 + resets = <&cpg R9A07G044_I2C2_MRST>; 148 + power-domains = <&cpg>; 149 + status = "disabled"; 150 + }; 151 + 152 + i2c3: i2c@10058c00 { 153 + #address-cells = <1>; 154 + #size-cells = <0>; 155 + compatible = "renesas,riic-r9a07g044", "renesas,riic-rz"; 156 + reg = <0 0x10058c00 0 0x400>; 157 + interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>, 158 + <GIC_SPI 372 IRQ_TYPE_EDGE_RISING>, 159 + <GIC_SPI 373 IRQ_TYPE_EDGE_RISING>, 160 + <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>, 161 + <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>, 162 + <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>, 163 + <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>, 164 + <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>; 165 + clocks = <&cpg CPG_MOD R9A07G044_I2C3_PCLK>; 166 + clock-frequency = <100000>; 167 + resets = <&cpg R9A07G044_I2C3_MRST>; 168 + power-domains = <&cpg>; 169 + status = "disabled"; 170 + }; 171 + 92 172 cpg: clock-controller@11010000 { 93 173 compatible = "renesas,r9a07g044-cpg"; 94 174 reg = <0 0x11010000 0 0x10000>;
+75 -1
arch/arm64/boot/dts/renesas/salvator-common.dtsi
··· 202 202 label = "rcar-sound"; 203 203 204 204 dais = <&rsnd_port0 /* ak4613 */ 205 - &rsnd_port1>; /* HDMI0 */ 205 + &rsnd_port1 /* HDMI0 */ 206 + #ifdef SOC_HAS_HDMI1 207 + &rsnd_port2 /* HDMI1 */ 208 + #endif 209 + >; 206 210 }; 207 211 208 212 vbus0_usb2: regulator-vbus0-usb2 { ··· 425 421 &hdmi0_con { 426 422 remote-endpoint = <&rcar_dw_hdmi0_out>; 427 423 }; 424 + 425 + #ifdef SOC_HAS_HDMI1 426 + &hdmi1 { 427 + status = "okay"; 428 + 429 + ports { 430 + port@1 { 431 + reg = <1>; 432 + rcar_dw_hdmi1_out: endpoint { 433 + remote-endpoint = <&hdmi1_con>; 434 + }; 435 + }; 436 + port@2 { 437 + reg = <2>; 438 + dw_hdmi1_snd_in: endpoint { 439 + remote-endpoint = <&rsnd_endpoint2>; 440 + }; 441 + }; 442 + }; 443 + }; 444 + 445 + &hdmi1_con { 446 + remote-endpoint = <&rcar_dw_hdmi1_out>; 447 + }; 448 + #endif /* SOC_HAS_HDMI1 */ 428 449 429 450 &hscif1 { 430 451 pinctrl-0 = <&hscif1_pins>; ··· 847 818 playback = <&ssi2>; 848 819 }; 849 820 }; 821 + 822 + #ifdef SOC_HAS_HDMI1 823 + rsnd_port2: port@2 { 824 + reg = <2>; 825 + rsnd_endpoint2: endpoint { 826 + remote-endpoint = <&dw_hdmi1_snd_in>; 827 + 828 + dai-format = "i2s"; 829 + bitclock-master = <&rsnd_endpoint2>; 830 + frame-master = <&rsnd_endpoint2>; 831 + 832 + playback = <&ssi3>; 833 + }; 834 + }; 835 + #endif /* SOC_HAS_HDMI1 */ 850 836 }; 851 837 }; 852 838 ··· 869 825 timeout-sec = <60>; 870 826 status = "okay"; 871 827 }; 828 + 829 + #ifdef SOC_HAS_SATA 830 + &sata { 831 + status = "okay"; 832 + }; 833 + #endif /* SOC_HAS_SATA */ 872 834 873 835 &scif1 { 874 836 pinctrl-0 = <&scif1_pins>; ··· 1023 973 1024 974 status = "okay"; 1025 975 }; 976 + 977 + #ifdef SOC_HAS_USB2_CH2 978 + &ehci2 { 979 + status = "okay"; 980 + }; 981 + 982 + &ohci2 { 983 + status = "okay"; 984 + }; 985 + 986 + &pfc { 987 + usb2_pins: usb2 { 988 + groups = "usb2"; 989 + function = "usb2"; 990 + }; 991 + }; 992 + 993 + &usb2_phy2 { 994 + pinctrl-0 = <&usb2_pins>; 995 + pinctrl-names = "default"; 996 + 997 + status = "okay"; 998 + }; 999 + #endif /* SOC_HAS_USB2_CH2 */
+56
arch/arm64/boot/dts/renesas/salvator-xs.dtsi
··· 27 27 clock-names = "xin"; 28 28 }; 29 29 }; 30 + 31 + #ifdef SOC_HAS_SATA 32 + &pca9654 { 33 + pcie-sata-switch-hog { 34 + gpio-hog; 35 + gpios = <7 GPIO_ACTIVE_HIGH>; 36 + output-low; /* enable SATA by default */ 37 + line-name = "PCIE/SATA switch"; 38 + }; 39 + }; 40 + 41 + /* SW12-7 must be set 'Off' (MD12 set to 1) which is not the default! */ 42 + #endif /* SOC_HAS_SATA */ 43 + 44 + #ifdef SOC_HAS_USB2_CH3 45 + &ehci3 { 46 + dr_mode = "otg"; 47 + status = "okay"; 48 + }; 49 + 50 + &hsusb3 { 51 + dr_mode = "otg"; 52 + status = "okay"; 53 + }; 54 + 55 + &ohci3 { 56 + dr_mode = "otg"; 57 + status = "okay"; 58 + }; 59 + 60 + &pfc { 61 + /* 62 + * - On Salvator-X[S], GP6_3[01] are connected to ADV7482 as irq pins 63 + * (when SW31 is the default setting on Salvator-XS). 64 + * - If SW31 is the default setting, you cannot use USB2.0 ch3 on 65 + * r8a77951 with Salvator-XS. 66 + * Hence the SW31 setting must be changed like 2) below. 67 + * 1) Default setting of SW31: ON-ON-OFF-OFF-OFF-OFF: 68 + * - Connect GP6_3[01] to ADV7842. 69 + * 2) Changed setting of SW31: OFF-OFF-ON-ON-ON-ON: 70 + * - Connect GP6_3[01] to BD082065 (USB2.0 ch3's host power). 71 + * - Connect GP6_{04,21} to ADV7842. 72 + */ 73 + usb2_ch3_pins: usb2_ch3 { 74 + groups = "usb2_ch3"; 75 + function = "usb2_ch3"; 76 + }; 77 + }; 78 + 79 + &usb2_phy3 { 80 + pinctrl-0 = <&usb2_ch3_pins>; 81 + pinctrl-names = "default"; 82 + 83 + status = "okay"; 84 + }; 85 + #endif /* SOC_HAS_USB2_CH3 */