diff mbox series

[net-next,11/12] ARM: dts: r9a06g032: describe switch

Message ID 20220414122250.158113-12-clement.leger@bootlin.com (mailing list archive)
State Changes Requested
Delegated to: Netdev Maintainers
Headers show
Series add support for Renesas RZ/N1 ethernet subsystem devices | expand

Checks

Context Check Description
netdev/tree_selection success Clearly marked for net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/subject_prefix success Link
netdev/cover_letter success Series has a cover letter
netdev/patch_count success Link
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/cc_maintainers success CCed 6 of 6 maintainers
netdev/build_clang success Errors and warnings before: 0 this patch: 0
netdev/module_param success Was 0 now: 0
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 17 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Clément Léger April 14, 2022, 12:22 p.m. UTC
Add description of the switch that is present on the RZ/N1 SoC.

Signed-off-by: Clément Léger <clement.leger@bootlin.com>
---
 arch/arm/boot/dts/r9a06g032.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Geert Uytterhoeven April 21, 2022, 9:34 a.m. UTC | #1
Hi Clément,

On Thu, Apr 14, 2022 at 2:25 PM Clément Léger <clement.leger@bootlin.com> wrote:
> Add description of the switch that is present on the RZ/N1 SoC.
>
> Signed-off-by: Clément Léger <clement.leger@bootlin.com>

Thanks for your patch!

> --- a/arch/arm/boot/dts/r9a06g032.dtsi
> +++ b/arch/arm/boot/dts/r9a06g032.dtsi
> @@ -250,6 +250,17 @@ mii_conv4: mii-conv@4 {
>                         };
>                 };
>
> +               switch: switch@44050000 {
> +                       compatible = "renesas,rzn1-a5psw";
> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +                       reg = <0x44050000 0x10000>;
> +                       clocks = <&sysctrl R9A06G032_HCLK_SWITCH>,
> +                                <&sysctrl R9A06G032_CLK_SWITCH>;
> +                       clock-names = "hclk_switch", "clk_switch";

"make dtbs_check":

arch/arm/boot/dts/r9a06g032-rzn1d400-db.dtb: switch@44050000:
clock-names:0: 'hclk' was expected
arch/arm/boot/dts/r9a06g032-rzn1d400-db.dtb: switch@44050000:
clock-names:1: 'clk' was expected
        From schema:
Documentation/devicetree/bindings/net/dsa/renesas,rzn1-a5psw.yaml

> +                       status = "disabled";
> +               };
> +
>                 gic: interrupt-controller@44101000 {
>                         compatible = "arm,gic-400", "arm,cortex-a7-gic";
>                         interrupt-controller;

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/r9a06g032.dtsi b/arch/arm/boot/dts/r9a06g032.dtsi
index 9be55957b8e5..c04b382a20f0 100644
--- a/arch/arm/boot/dts/r9a06g032.dtsi
+++ b/arch/arm/boot/dts/r9a06g032.dtsi
@@ -250,6 +250,17 @@  mii_conv4: mii-conv@4 {
 			};
 		};
 
+		switch: switch@44050000 {
+			compatible = "renesas,rzn1-a5psw";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0x44050000 0x10000>;
+			clocks = <&sysctrl R9A06G032_HCLK_SWITCH>,
+				 <&sysctrl R9A06G032_CLK_SWITCH>;
+			clock-names = "hclk_switch", "clk_switch";
+			status = "disabled";
+		};
+
 		gic: interrupt-controller@44101000 {
 			compatible = "arm,gic-400", "arm,cortex-a7-gic";
 			interrupt-controller;