Re: [PATCH 2/2 v2] ARM: dts: Add initial LS1021A IoT board dts support
From: Krzysztof Kozlowski
Date: Tue Apr 12 2022 - 08:38:11 EST
On 11/04/2022 11:08, Changming Huang wrote:
> The LS1021A-IoT gateway reference design is a purpose-built,
> small footprint hardware platform equipped with a wide array
> of both high-speed connectivity and low speed serial interfaces.
Thank you for your patch. There is something to discuss/improve.
> +
> +&enet2 {
> + fixed-link = <0 1 1000 0 0>;
> + phy-connection-type = "rgmii-id";
> + status = "okay";
> +};
> +
> +&esdhc{
> + status = "okay";
> +};
> +
> +&i2c0 {
> + status = "okay";
> +
> + gpio: pca9555@23 {
Here and in all other places - generic node name, please. For example
pca9555 is "gpio"
> + compatible = "nxp,pca9555";
> + gpio-controller;
> + #gpio-cells = <2>;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + reg = <0x23>;
Please put "reg" after compatible, everywhere.
> + };
> +
> + codec: sgtl5000@2a {
Ditto...
> + #sound-dai-cells=<0x0>;
> + compatible = "fsl,sgtl5000";
> + reg = <0x2a>;
> + VDDA-supply = <®_3p3v>;
> + VDDIO-supply = <®_2p5v>;
> + clocks = <&sys_mclk 1>;
> + };
> +
> + adc: max1239@35 {
and so on.
Best regards,
Krzysztof