Re: [PATCH 5/6] DT: MIPS: ralink: add RT3883 dts files

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

 



2013.04.13. 10:50 keltezéssel, John Crispin írta:
> Add a dtsi file for RT3883 SoC and a sample dts file.
> 
> Signed-off-by: John Crispin <blogic@xxxxxxxxxxx>
> ---
>  arch/mips/ralink/Kconfig             |    4 +++
>  arch/mips/ralink/dts/Makefile        |    1 +
>  arch/mips/ralink/dts/rt3883.dtsi     |   58 ++++++++++++++++++++++++++++++++++
>  arch/mips/ralink/dts/rt3883_eval.dts |   18 +++++++++++
>  4 files changed, 81 insertions(+)
>  create mode 100644 arch/mips/ralink/dts/rt3883.dtsi
>  create mode 100644 arch/mips/ralink/dts/rt3883_eval.dts

<...>

> diff --git a/arch/mips/ralink/dts/rt3883.dtsi b/arch/mips/ralink/dts/rt3883.dtsi
> new file mode 100644
> index 0000000..3b131dd
> --- /dev/null
> +++ b/arch/mips/ralink/dts/rt3883.dtsi
> @@ -0,0 +1,58 @@
> +/ {
> +	#address-cells = <1>;
> +	#size-cells = <1>;
> +	compatible = "ralink,rt3883-soc";
> +

<...>

> diff --git a/arch/mips/ralink/dts/rt3883_eval.dts b/arch/mips/ralink/dts/rt3883_eval.dts
> new file mode 100644
> index 0000000..0297f20
> --- /dev/null
> +++ b/arch/mips/ralink/dts/rt3883_eval.dts
> @@ -0,0 +1,18 @@
> +/dts-v1/;
> +
> +/include/ "rt3883.dtsi"
> +
> +/ {
> +	#address-cells = <1>;
> +	#size-cells = <1>;

These -cells properties are superfluous, because the rt3883.dtsi file contains
these already.

-Gabor



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

  Powered by Linux