[PATCH 3/3] ARM: dts: at91: sam9x60: Add spi0 node (flexcom 0)
Eugen Hristev
eugen.hristev at linaro.org
Tue Nov 11 12:34:35 CET 2025
On 11/11/25 13:26, Alexander Dahl wrote:
> Copied from linux kernel v6.18-rc4. Stripped attributes not supported
> by U-Boot drivers (dma, interrupt, fifo-size).
Hello Alexander,
Have you tried to configure the build to use upstream DTS ? this should
be available in the U-boot dir. CONFIG_OF_UPSTREAM I believe.
Also, if you really want to update this u-boot DT, you would have to
copy it as-is, no stripping. Even if the props are unused. The only real
issue would be if Uboot stops working or gets confused by these extra props
Eugen>
> Signed-off-by: Alexander Dahl <ada at thorsis.com>
> ---
> arch/arm/dts/sam9x60.dtsi | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi
> index a33c0d57398..1ee30422518 100644
> --- a/arch/arm/dts/sam9x60.dtsi
> +++ b/arch/arm/dts/sam9x60.dtsi
> @@ -182,6 +182,16 @@
> ranges = <0x0 0xf801c000 0x800>;
> status = "disabled";
>
> + spi0: spi at 400 {
> + compatible = "microchip,sam9x60-spi", "atmel,at91rm9200-spi";
> + reg = <0x400 0x200>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> + clocks = <&pmc PMC_TYPE_PERIPHERAL 5>;
> + clock-names = "spi_clk";
> + status = "disabled";
> + };
> +
> i2c0: i2c at 600 {
> compatible = "microchip,sam9x60-i2c";
> reg = <0x600 0x200>;
More information about the U-Boot
mailing list