[PATCH v2 17/38] ARM: orion5x: use node labels for UART and SATA on edmini_v2
Sebastian Hesselbarth
sebastian.hesselbarth at gmail.com
Wed Apr 23 04:23:38 PDT 2014
On 04/22/2014 11:26 PM, Thomas Petazzoni wrote:
> This commit converts the existing devices described in the edmini_v2
> Device Tree to use node labels: the UART and SATA device. Also, it
> reorders the eth and mdio node label references to be sorted
> alphabetically.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Does this also mean, we agree on the "using node label references" topic
for Kirkwood?
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
> ---
> .../dts/orion5x-lacie-ethernet-disk-mini-v2.dts | 30 ++++++++++------------
> 1 file changed, 14 insertions(+), 16 deletions(-)
>
> diff --git a/arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts b/arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts
> index df53d256..83f45a7 100644
> --- a/arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts
> +++ b/arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts
> @@ -28,18 +28,6 @@
> soc {
> ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>,
> <MBUS_ID(0x09, 0x00) 0 0xf2200000 0x800>;
> -
> - internal-regs {
> - serial at 12000 {
> - clock-frequency = <166666667>;
> - status = "okay";
> - };
> -
> - sata at 80000 {
> - status = "okay";
> - nr-ports = <2>;
> - };
> - };
> };
>
> gpio-keys {
> @@ -63,6 +51,14 @@
> };
> };
>
> +ð {
> + status = "okay";
> +
> + ethernet-port at 0 {
> + phy-handle = <ðphy>;
> + };
> +};
> +
> &mdio {
> status = "okay";
>
> @@ -71,10 +67,12 @@
> };
> };
>
> -ð {
> +&sata {
> status = "okay";
> + nr-ports = <2>;
> +};
>
> - ethernet-port at 0 {
> - phy-handle = <ðphy>;
> - };
> +&uart0 {
> + clock-frequency = <166666667>;
> + status = "okay";
> };
>
More information about the linux-arm-kernel
mailing list