diff mbox

arm: imx6: zii: Add i210 PCIe interface to the device tree

Message ID CAFXsbZreXT_4Xt6Qj5KiWCzwiNosBXsH-Fs7f36OQr2wqQ_idA@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Chris Healy April 16, 2017, 4:02 a.m. UTC
The board has an Intel i210 Ethernet controller on its PCIe bus. Add a
device tree node for this.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
---
 arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Baruch Siach April 16, 2017, 4:20 a.m. UTC | #1
Hi Cris,

On Sat, Apr 15, 2017 at 09:02:50PM -0700, Chris Healy wrote:
> The board has an Intel i210 Ethernet controller on its PCIe bus. Add a
> device tree node for this.
> 
> Signed-off-by: Andrew Lunn <andrew@lunn.ch>
> ---
>  arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
> b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
> index bcff7876..6f59d53 100644
> --- a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
> @@ -572,6 +572,18 @@
>   pinctrl-0 = <&pinctrl_pcie>;
>   reset-gpio = <&gpio7 12 GPIO_ACTIVE_LOW>;
>   status = "okay";
> +
> + host@0 {
> + #address-cells = <3>;
> + #size-cells = <2>;
> + reg = <0 0 0 0 0>;
> + device_type = "pci";
> +
> + i210: i210@0 {
> + reg = <0 0 0 0 0>;
> + device_type = "pci";
> + };
> +       };
>  };
> 
>  &usdhc2 {

Looks like gmail ate your whitespaces. See 
https://www.kernel.org/doc/html/latest/process/email-clients.html for some 
alternative suggestions.

baruch
diff mbox

Patch

diff --git a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
index bcff7876..6f59d53 100644
--- a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
@@ -572,6 +572,18 @@ 
  pinctrl-0 = <&pinctrl_pcie>;
  reset-gpio = <&gpio7 12 GPIO_ACTIVE_LOW>;
  status = "okay";
+
+ host@0 {
+ #address-cells = <3>;
+ #size-cells = <2>;
+ reg = <0 0 0 0 0>;
+ device_type = "pci";
+
+ i210: i210@0 {
+ reg = <0 0 0 0 0>;
+ device_type = "pci";
+ };
+       };
 };

 &usdhc2 {