Re: [PATCH v2 6/9] MIPS: mscc: Add luton PC0B91 device tree

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

 



On 10/11/2020 12:45:05+0100, Gregory CLEMENT wrote:
> Add a device tree for the Microsemi Luton PCB091 evaluation board.
> 
> It is based on the work of Lars Povlsen <lars.povlsen@xxxxxxxxxxxxx>.
> 
> Signed-off-by: Gregory CLEMENT <gregory.clement@xxxxxxxxxxx>
Acked-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>

> ---
>  arch/mips/boot/dts/mscc/Makefile         |  5 +++-
>  arch/mips/boot/dts/mscc/luton_pcb091.dts | 30 ++++++++++++++++++++++++
>  2 files changed, 34 insertions(+), 1 deletion(-)
>  create mode 100644 arch/mips/boot/dts/mscc/luton_pcb091.dts
> 
> diff --git a/arch/mips/boot/dts/mscc/Makefile b/arch/mips/boot/dts/mscc/Makefile
> index 5015ccbbfb23..40699b44ed50 100644
> --- a/arch/mips/boot/dts/mscc/Makefile
> +++ b/arch/mips/boot/dts/mscc/Makefile
> @@ -1,4 +1,7 @@
>  # SPDX-License-Identifier: GPL-2.0-only
> -dtb-$(CONFIG_SOC_VCOREIII)	+= ocelot_pcb123.dtb ocelot_pcb120.dtb
> +dtb-$(CONFIG_SOC_VCOREIII)	+= \
> +	luton_pcb091.dtb \
> +	ocelot_pcb120.dtb \
> +	ocelot_pcb123.dtb
>  
>  obj-$(CONFIG_BUILTIN_DTB)	+= $(addsuffix .o, $(dtb-y))
> diff --git a/arch/mips/boot/dts/mscc/luton_pcb091.dts b/arch/mips/boot/dts/mscc/luton_pcb091.dts
> new file mode 100644
> index 000000000000..26ef6285d71d
> --- /dev/null
> +++ b/arch/mips/boot/dts/mscc/luton_pcb091.dts
> @@ -0,0 +1,30 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +/*
> + * Copyright (c) 2020 Microsemi Corporation
> + */
> +
> +/dts-v1/;
> +
> +#include "luton.dtsi"
> +
> +/ {
> +	model = "Luton10 PCB091 Reference Board";
> +	compatible = "mscc,luton-pcb091", "mscc,luton";
> +
> +	aliases {
> +		serial0 = &uart0;
> +	};
> +
> +	chosen {
> +		stdout-path = "serial0:115200n8";
> +	};
> +};
> +
> +&uart0 {
> +	status = "okay";
> +};
> +
> +&i2c0 {
> +	status = "okay";
> +	i2c-sda-hold-time-ns = <300>;
> +};
> -- 
> 2.28.0
> 

-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux