lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOQ7t2ZZn9J-b9Vw0rpq7GSSSXRPcpK8FA2nxj4S9U319cwm9w@mail.gmail.com>
Date:	Sun, 23 Nov 2014 20:02:57 +0100
From:	Carlo Caione <carlo@...one.org>
To:	Beniamino Galvani <b.galvani@...il.com>
Cc:	Carlo Caione <carlo@...one.org>,
	linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
	devicetree <devicetree@...r.kernel.org>,
	linux-kernel@...r.kernel.org, Jerry Cao <jerry.cao@...ogic.com>,
	Victor Wan <victor.wan@...ogic.com>
Subject: Re: [PATCH] ARM: dts: meson: enable Ethernet controller

On Sun, Nov 23, 2014 at 5:08 PM, Beniamino Galvani <b.galvani@...il.com> wrote:
> Add a node for the Ethernet controller to Meson DTS file and
> enable it on the Geniatech ATV1200 board.
>
> Signed-off-by: Beniamino Galvani <b.galvani@...il.com>
> ---
>  arch/arm/boot/dts/meson.dtsi         | 11 +++++++++++
>  arch/arm/boot/dts/meson6-atv1200.dts |  4 ++++
>  2 files changed, 15 insertions(+)
>
> diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi
> index 03bcff8..4704b95 100644
> --- a/arch/arm/boot/dts/meson.dtsi
> +++ b/arch/arm/boot/dts/meson.dtsi
> @@ -143,5 +143,16 @@
>                         #size-cells = <0>;
>                         status = "disabled";
>                 };
> +
> +               ethmac: ethernet@...10000 {
> +                       compatible = "amlogic,meson6-dwmac", "snps,dwmac";
> +                       reg = <0xc9410000 0x10000
> +                              0xc1108108 0x4>;
> +                       interrupts = <0 8 1>;
> +                       interrupt-names = "macirq";
> +                       clocks = <&clk81>;
> +                       clock-names = "stmmaceth";
> +                       status = "disabled";
> +               };
>         };
>  }; /* end of / */
> diff --git a/arch/arm/boot/dts/meson6-atv1200.dts b/arch/arm/boot/dts/meson6-atv1200.dts
> index d7d351a..1237faa 100644
> --- a/arch/arm/boot/dts/meson6-atv1200.dts
> +++ b/arch/arm/boot/dts/meson6-atv1200.dts
> @@ -64,3 +64,7 @@
>  &uart_AO {
>         status = "okay";
>  };
> +
> +&ethmac {
> +       status = "okay";
> +};
> --
> 1.9.1
>

Tested-by: Carlo Caione <carlo@...one.org>

Thanks,

-- 
Carlo Caione
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ