linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: i.MX27: Add SSI nodes
@ 2013-11-10  7:52 Alexander Shiyan
  2013-11-10  7:52 ` [PATCH 2/2] ARM: dts: imx27-phytec-phycore-som: Update FEC node Alexander Shiyan
  2013-11-11  7:57 ` [PATCH 1/2] ARM: dts: i.MX27: Add SSI nodes Shawn Guo
  0 siblings, 2 replies; 4+ messages in thread
From: Alexander Shiyan @ 2013-11-10  7:52 UTC (permalink / raw)
  To: linux-arm-kernel

This patch adds the missing (Synchronous Serial Interface) SSI1 & SSI2
devicetree nodes for i.MX27 CPUs.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/boot/dts/imx27.dtsi | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
index 826231e..52520fb 100644
--- a/arch/arm/boot/dts/imx27.dtsi
+++ b/arch/arm/boot/dts/imx27.dtsi
@@ -204,6 +204,30 @@
 				status = "disabled";
 			};
 
+			ssi1: ssi at 10010000 {
+				compatible = "fsl,imx27-ssi", "fsl,imx21-ssi";
+				reg = <0x10010000 0x1000>;
+				interrupts = <14>;
+				clocks = <&clks 26>;
+				dmas = <&dma 12>, <&dma 13>;
+				dma-names = "rx", "tx";
+				fsl,fifo-depth = <8>;
+				fsl,ssi-dma-events = <13 12 15 14>; /* TX0 RX0 TX1 RX1 */
+				status = "disabled";
+			};
+
+			ssi2: ssi at 10011000 {
+				compatible = "fsl,imx27-ssi", "fsl,imx21-ssi";
+				reg = <0x10011000 0x1000>;
+				interrupts = <13>;
+				clocks = <&clks 25>;
+				dmas = <&dma 8>, <&dma 9>;
+				dma-names = "rx", "tx";
+				fsl,fifo-depth = <8>;
+				fsl,ssi-dma-events = <9 8 11 10>; /* TX0 RX0 TX1 RX1 */
+				status = "disabled";
+			};
+
 			i2c1: i2c at 10012000 {
 				#address-cells = <1>;
 				#size-cells = <0>;
-- 
1.8.1.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: dts: imx27-phytec-phycore-som: Update FEC node
  2013-11-10  7:52 [PATCH 1/2] ARM: dts: i.MX27: Add SSI nodes Alexander Shiyan
@ 2013-11-10  7:52 ` Alexander Shiyan
  2013-11-11  7:59   ` Shawn Guo
  2013-11-11  7:57 ` [PATCH 1/2] ARM: dts: i.MX27: Add SSI nodes Shawn Guo
  1 sibling, 1 reply; 4+ messages in thread
From: Alexander Shiyan @ 2013-11-10  7:52 UTC (permalink / raw)
  To: linux-arm-kernel

This patch updates FEC devicetree node of Phytec PCM038 module:
- Adding missing phy_mode properties.
- Adding dummy regulator to provide functionality without
  dummy-regulator in the kernel.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/boot/dts/imx27-phytec-phycore-som.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/imx27-phytec-phycore-som.dts b/arch/arm/boot/dts/imx27-phytec-phycore-som.dts
index 4ec402c..317df5e 100644
--- a/arch/arm/boot/dts/imx27-phytec-phycore-som.dts
+++ b/arch/arm/boot/dts/imx27-phytec-phycore-som.dts
@@ -19,6 +19,20 @@
 	memory {
 		reg = <0xa0000000 0x08000000>;
 	};
+
+	regulators {
+		compatible = "simple-bus";
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		reg_3v3: 3v3 {
+			compatible = "regulator-fixed";
+			reg = <0>;
+			regulator-name = "3V3";
+			regulator-min-microvolt = <3300000>;
+			regulator-max-microvolt = <3300000>;
+		};
+	};
 };
 
 &audmux {
@@ -134,7 +148,9 @@
 };
 
 &fec {
+	phy-mode = "mii";
 	phy-reset-gpios = <&gpio3 30 0>;
+	phy-supply = <&reg_3v3>;
 	status = "okay";
 };
 
-- 
1.8.1.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 1/2] ARM: dts: i.MX27: Add SSI nodes
  2013-11-10  7:52 [PATCH 1/2] ARM: dts: i.MX27: Add SSI nodes Alexander Shiyan
  2013-11-10  7:52 ` [PATCH 2/2] ARM: dts: imx27-phytec-phycore-som: Update FEC node Alexander Shiyan
@ 2013-11-11  7:57 ` Shawn Guo
  1 sibling, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2013-11-11  7:57 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Nov 10, 2013 at 11:52:00AM +0400, Alexander Shiyan wrote:
> This patch adds the missing (Synchronous Serial Interface) SSI1 & SSI2
> devicetree nodes for i.MX27 CPUs.
> 
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
> ---
>  arch/arm/boot/dts/imx27.dtsi | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
> index 826231e..52520fb 100644
> --- a/arch/arm/boot/dts/imx27.dtsi
> +++ b/arch/arm/boot/dts/imx27.dtsi
> @@ -204,6 +204,30 @@
>  				status = "disabled";
>  			};
>  
> +			ssi1: ssi at 10010000 {
> +				compatible = "fsl,imx27-ssi", "fsl,imx21-ssi";
> +				reg = <0x10010000 0x1000>;
> +				interrupts = <14>;
> +				clocks = <&clks 26>;
> +				dmas = <&dma 12>, <&dma 13>;
> +				dma-names = "rx", "tx";
> +				fsl,fifo-depth = <8>;
> +				fsl,ssi-dma-events = <13 12 15 14>; /* TX0 RX0 TX1 RX1 */

This custom property is deprecated and shouldn't be needed now.

Shawn

> +				status = "disabled";
> +			};
> +
> +			ssi2: ssi at 10011000 {
> +				compatible = "fsl,imx27-ssi", "fsl,imx21-ssi";
> +				reg = <0x10011000 0x1000>;
> +				interrupts = <13>;
> +				clocks = <&clks 25>;
> +				dmas = <&dma 8>, <&dma 9>;
> +				dma-names = "rx", "tx";
> +				fsl,fifo-depth = <8>;
> +				fsl,ssi-dma-events = <9 8 11 10>; /* TX0 RX0 TX1 RX1 */
> +				status = "disabled";
> +			};
> +
>  			i2c1: i2c at 10012000 {
>  				#address-cells = <1>;
>  				#size-cells = <0>;
> -- 
> 1.8.1.5
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: dts: imx27-phytec-phycore-som: Update FEC node
  2013-11-10  7:52 ` [PATCH 2/2] ARM: dts: imx27-phytec-phycore-som: Update FEC node Alexander Shiyan
@ 2013-11-11  7:59   ` Shawn Guo
  0 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2013-11-11  7:59 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Nov 10, 2013 at 11:52:01AM +0400, Alexander Shiyan wrote:
> This patch updates FEC devicetree node of Phytec PCM038 module:
> - Adding missing phy_mode properties.
> - Adding dummy regulator to provide functionality without

s/dummy/fixed

>   dummy-regulator in the kernel.
> 
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
> ---
>  arch/arm/boot/dts/imx27-phytec-phycore-som.dts | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx27-phytec-phycore-som.dts b/arch/arm/boot/dts/imx27-phytec-phycore-som.dts
> index 4ec402c..317df5e 100644
> --- a/arch/arm/boot/dts/imx27-phytec-phycore-som.dts
> +++ b/arch/arm/boot/dts/imx27-phytec-phycore-som.dts
> @@ -19,6 +19,20 @@
>  	memory {
>  		reg = <0xa0000000 0x08000000>;
>  	};
> +
> +	regulators {
> +		compatible = "simple-bus";
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +
> +		reg_3v3: 3v3 {

		reg_3v3: regulator at 0 {

Shawn

> +			compatible = "regulator-fixed";
> +			reg = <0>;
> +			regulator-name = "3V3";
> +			regulator-min-microvolt = <3300000>;
> +			regulator-max-microvolt = <3300000>;
> +		};
> +	};
>  };
>  
>  &audmux {
> @@ -134,7 +148,9 @@
>  };
>  
>  &fec {
> +	phy-mode = "mii";
>  	phy-reset-gpios = <&gpio3 30 0>;
> +	phy-supply = <&reg_3v3>;
>  	status = "okay";
>  };
>  
> -- 
> 1.8.1.5
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-11  7:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-10  7:52 [PATCH 1/2] ARM: dts: i.MX27: Add SSI nodes Alexander Shiyan
2013-11-10  7:52 ` [PATCH 2/2] ARM: dts: imx27-phytec-phycore-som: Update FEC node Alexander Shiyan
2013-11-11  7:59   ` Shawn Guo
2013-11-11  7:57 ` [PATCH 1/2] ARM: dts: i.MX27: Add SSI nodes Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).