diff mbox series

[v2,14/14] ARM: dts: da850-lcdk: enable the SATA node

Message ID 1484655976-25382-15-git-send-email-bgolaszewski@baylibre.com
State Superseded
Headers show
Series ARM: da850-lcdk: add SATA support | expand

Commit Message

Bartosz Golaszewski Jan. 17, 2017, 12:26 p.m. UTC
Enable the SATA node for da850-lcdk. We omit the pinctrl property on
purpose - the muxed SATA pins are not hooked up to anything
SATA-related on the lcdk.

The REFCLKN/P rate on the board is 100MHz, so we need a multiplier of
15 for 1.5GHz PLL rate.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>

---
 arch/arm/boot/dts/da850-lcdk.dts | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.9.3

Comments

David Lechner Jan. 17, 2017, 6:53 p.m. UTC | #1
On 01/17/2017 06:26 AM, Bartosz Golaszewski wrote:
> Enable the SATA node for da850-lcdk. We omit the pinctrl property on

> purpose - the muxed SATA pins are not hooked up to anything

> SATA-related on the lcdk.

>

> The REFCLKN/P rate on the board is 100MHz, so we need a multiplier of

> 15 for 1.5GHz PLL rate.


The multiplier is no longer in device tree, so this comment is not 
necessary.

>

> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>

> ---

>  arch/arm/boot/dts/da850-lcdk.dts | 4 ++++

>  1 file changed, 4 insertions(+)

>

> diff --git a/arch/arm/boot/dts/da850-lcdk.dts b/arch/arm/boot/dts/da850-lcdk.dts

> index afcb482..fbeee3c 100644

> --- a/arch/arm/boot/dts/da850-lcdk.dts

> +++ b/arch/arm/boot/dts/da850-lcdk.dts

> @@ -105,6 +105,10 @@

>  	status = "okay";

>  };

>

> +&sata {

> +	status = "okay";

> +};

> +

>  &mdio {

>  	pinctrl-names = "default";

>  	pinctrl-0 = <&mdio_pins>;

>
Kevin Hilman Jan. 18, 2017, 12:39 a.m. UTC | #2
Bartosz Golaszewski <bgolaszewski@baylibre.com> writes:

> Enable the SATA node for da850-lcdk. We omit the pinctrl property on

> purpose - the muxed SATA pins are not hooked up to anything

> SATA-related on the lcdk.

>

> The REFCLKN/P rate on the board is 100MHz, so we need a multiplier of

> 15 for 1.5GHz PLL rate.


leftover comment from previous version?

Kevin

> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>

> ---

>  arch/arm/boot/dts/da850-lcdk.dts | 4 ++++

>  1 file changed, 4 insertions(+)

>

> diff --git a/arch/arm/boot/dts/da850-lcdk.dts b/arch/arm/boot/dts/da850-lcdk.dts

> index afcb482..fbeee3c 100644

> --- a/arch/arm/boot/dts/da850-lcdk.dts

> +++ b/arch/arm/boot/dts/da850-lcdk.dts

> @@ -105,6 +105,10 @@

>  	status = "okay";

>  };

>  

> +&sata {

> +	status = "okay";

> +};

> +

>  &mdio {

>  	pinctrl-names = "default";

>  	pinctrl-0 = <&mdio_pins>;
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/da850-lcdk.dts b/arch/arm/boot/dts/da850-lcdk.dts
index afcb482..fbeee3c 100644
--- a/arch/arm/boot/dts/da850-lcdk.dts
+++ b/arch/arm/boot/dts/da850-lcdk.dts
@@ -105,6 +105,10 @@ 
 	status = "okay";
 };
 
+&sata {
+	status = "okay";
+};
+
 &mdio {
 	pinctrl-names = "default";
 	pinctrl-0 = <&mdio_pins>;