Re: [PATCH v2 8/9] ARM: dts: add support for I2SE Duckbill 2 SPI

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

 




Am 22.01.2017 um 23:22 schrieb Michael Heimpold:
> This machine is based on I2SE's Duckbill 2 board and is sold as part of I2SE's
> PLC Bundle for IoT. This is a development kit for Homeplug Green PHY based
> powerline products based on Qualcomms QCA7000 chip.
>
> Signed-off-by: Michael Heimpold <mhei@xxxxxxxxxxx>
> Cc: Stefan Wahren <stefan.wahren@xxxxxxxx>
> ---
>  arch/arm/boot/dts/Makefile                 |   1 +
>  arch/arm/boot/dts/imx28-duckbill-2-spi.dts | 199 +++++++++++++++++++++++++++++
>  2 files changed, 200 insertions(+)
>  create mode 100644 arch/arm/boot/dts/imx28-duckbill-2-spi.dts
>
...
> diff --git a/arch/arm/boot/dts/imx28-duckbill-2-spi.dts b/arch/arm/boot/dts/imx28-duckbill-2-spi.dts
> new file mode 100644
> index 0000000..738eaa7
> --- /dev/null
> +++ b/arch/arm/boot/dts/imx28-duckbill-2-spi.dts
> @@ -0,0 +1,199 @@
> +/*
> + * Copyright (C) 2015-2017 I2SE GmbH <info@xxxxxxxx>
> + * Copyright (C) 2016 Michael Heimpold <mhei@xxxxxxxxxxx>
> + *
> + * The code contained herein is licensed under the GNU General Public
> + * License. You may obtain a copy of the GNU General Public License
> + * Version 2 or later at the following locations:
> + *
> + * http://www.opensource.org/licenses/gpl-license.html
> + * http://www.gnu.org/copyleft/gpl.html
> + */
> +
> +/dts-v1/;
> +#include <dt-bindings/interrupt-controller/irq.h>
> +#include <dt-bindings/gpio/gpio.h>
> +#include "imx28.dtsi"
> +
> +/ {
> +	model = "I2SE Duckbill 2 SPI";
> +	compatible = "i2se,duckbill", "fsl,imx28";
> +
> +	aliases {
> +		ethernet1 = &qca7000;
> +	};
> +
> +	memory {
> +		reg = <0x40000000 0x08000000>;
> +	};
> +
> +	apb@80000000 {
> +		apbh@80000000 {
> +			ssp0: ssp@80010000 {
> +				compatible = "fsl,imx28-mmc";
> +				pinctrl-names = "default";
> +				pinctrl-0 = <&mmc0_8bit_pins_a
> +					&mmc0_cd_cfg &mmc0_sck_cfg>;
> +				bus-width = <8>;
> +				vmmc-supply = <&reg_3p3v>;
> +				status = "okay";
> +				non-removable;
> +			};
> +
> +			ssp2: ssp@80014000 {
> +				compatible = "fsl,imx28-spi";
> +				pinctrl-names = "default";
> +				pinctrl-0 = <&spi2_pins_a>;
> +				status = "okay";
> +
> +				qca7000: ethernet@0 {
> +					compatible = "qca,qca7000";
> +					pinctrl-names = "default";
> +					pinctrl-0 = <&qca7000_pins>;
> +					reg = <0>;

Just a nit. Please place the reg property before the compatible in order
to keep it like the others.

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux