Re: [PATCH 6/6] ARM: dts: renesas: rza2mbtc: initial board support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/07/2025 21:09, Magnus Damm wrote:
> From: Magnus Damm <damm@xxxxxxxxxxxxx>
> 
> Add initial support for the RZA2MBTC board which is based on the RZ/A2M by
> Renesas Electronics. Included in this patch are DTS nodes for serial console,
> on-board SPI flash as well as RMII Ethernet.
> 
> Signed-off-by: Magnus Damm <damm@xxxxxxxxxxxxx>
> ---
> 
>  Applies to next-20250704
> 
>  arch/arm/boot/dts/renesas/Makefile                  |    1 
>  work/arch/arm/boot/dts/renesas/r7s9210-rza2mbtc.dts |  133 +++++++++++++++++++
>  2 files changed, 134 insertions(+)
>  
> --- 0006/arch/arm/boot/dts/renesas/Makefile
> +++ work/arch/arm/boot/dts/renesas/Makefile	2025-07-05 22:03:46.456578459 +0900
> @@ -5,6 +5,7 @@ dtb-$(CONFIG_ARCH_RENESAS) += \
>  	r7s72100-gr-peach.dtb \
>  	r7s72100-rskrza1.dtb \
>  	r7s9210-gr-mango.dtb \
> +	r7s9210-rza2mbtc.dtb \
>  	r7s9210-rza2mevb.dtb \
>  	r8a73a4-ape6evm.dtb \
>  	r8a7740-armadillo800eva.dtb \
> --- /dev/null
> +++ work/arch/arm/boot/dts/renesas/r7s9210-rza2mbtc.dts	2025-07-05 22:03:21.996442287 +0900
> @@ -0,0 +1,133 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/*
> + * Device Tree Source for the RZ/A2M BTC board
> + *
> + * Based on RZA2MEVB, Copyright (C) 2018 Renesas Electronics
> + */
> +
> +/dts-v1/;
> +#include "r7s9210.dtsi"
> +#include <dt-bindings/pinctrl/r7s9210-pinctrl.h>
> +
> +/ {
> +	model = "RZA2MBTC";
> +	compatible = "aprg,rza2mbtc", "renesas,r7s9210";
> +
> +	aliases {
> +		serial0 = &scif1;
> +		spi0 = &rpc0;
> +	};
> +
> +	chosen {
> +		bootargs = "ignore_loglevel";
> +		stdout-path = "serial0:115200n8";
> +	};
> +};
> +
> +&extal_clk {
> +	clock-frequency = <24000000>; /* EXTAL: Y2: ECS-240-8-47B-7KM-TR (24MHz) */
> +};
> +
> +&ostm0 {
> +	status = "okay";
> +};
> +
> +&ostm1 {
> +	status = "okay";
> +};
> +
> +&rpc0 {
> +	status = "okay";
> +
> +	flash0: spi-flash@0 {

That's just flash@0

> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		compatible = "jedec,spi-nor";

Follow DTS coding style - read about property order.

> +		spi-max-frequency = <50000000>;
> +		spi-tx-bus-width = <1>;
> +		spi-rx-bus-width = <1>;
> +		reg = <0>;
> +


Best regards,
Krzysztof




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux