Re: [PATCH v4 32/37] sh: Add IO DATA USL-5P dts

Sergei Shtylyov <[email protected]>
Newsgroups gmane.linux.ports.sh.devel
Message-ID <[email protected]>
On 11/14/23 11:00 AM, Yoshinori Sato wrote:

> IO DATA DEVICE Inc. USL-5P devicetree.
> 
> Signed-off-by: Yoshinori Sato <[email protected]>
> ---
>  arch/sh/boot/dts/usl-5p.dts | 84 +++++++++++++++++++++++++++++++++++++
>  1 file changed, 84 insertions(+)
>  create mode 100644 arch/sh/boot/dts/usl-5p.dts
> 
> diff --git a/arch/sh/boot/dts/usl-5p.dts b/arch/sh/boot/dts/usl-5p.dts
> new file mode 100644
> index 000000000000..fba37472ebae
> --- /dev/null
> +++ b/arch/sh/boot/dts/usl-5p.dts
> @@ -0,0 +1,84 @@
[...]
> +	julianintc: sh7751irl_encoder@b0000005 {

   The node name should be "interrupt-controller", according to clause 2.2.2
in the DT spec.

> +		compatible = "renesas,sh7751-irl-ext";
> +		reg = <0xb0000005 0x01>;
> +		interrupt-controller;
> +		#interrupt-cells = <1>;
> +		#address-cells = <0>;
> +		#size-cells = <0>;
> +		renesas,width = <8>;
> +		renesas,enable-bit = <5 0>,	/* PCI INTA */
> +				     <6 1>,	/* PCI INTB */
> +				     <7 2>,	/* PCI INTC */
> +				     <8 3>,	/* PCI INTD */
> +				     <9 4>,	/* ATA */
> +				     <10 5>,	/* CF */
> +				     <11 6>,	/* Power Switch */
> +				     <12 7>;	/* Button */
> +	};
[...]

MBR, Sergey
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.