* [PATCH 1/2] ARM i.MX6Q: dts: Enable SPI NOR flash on Phytec phyFLEX-i.MX6 Ouad module
@ 2013-07-24 16:35 Philipp Zabel
2013-07-24 16:35 ` [PATCH 2/2] ARM i.MX6Q: dts: Enable I2C1 with EEPROM and PMIC " Philipp Zabel
2013-07-24 18:33 ` [PATCH 1/2] ARM i.MX6Q: dts: Enable SPI NOR flash " Sergei Shtylyov
0 siblings, 2 replies; 5+ messages in thread
From: Philipp Zabel @ 2013-07-24 16:35 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
index f5e1981..5113d29 100644
--- a/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
+++ b/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
@@ -20,6 +20,20 @@
};
};
+&ecspi3 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_ecspi3_1>;
+ status = "okay";
+ fsl,spi-num-chipselects = <1>;
+ cs-gpios = <&gpio4 24 0>;
+
+ flash: m25p80 at 0 {
+ compatible = "m25p80";
+ spi-max-frequency = <20000000>;
+ reg = <0>;
+ };
+};
+
&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog>;
@@ -28,6 +42,7 @@
pinctrl_hog: hoggrp {
fsl,pins = <
MX6Q_PAD_EIM_D23__GPIO3_IO23 0x80000000
+ MX6Q_PAD_DISP0_DAT3__GPIO4_IO24 0x80000000 /* SPI NOR chipselect */
>;
};
};
--
1.8.3.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] ARM i.MX6Q: dts: Enable I2C1 with EEPROM and PMIC on Phytec phyFLEX-i.MX6 Ouad module
2013-07-24 16:35 [PATCH 1/2] ARM i.MX6Q: dts: Enable SPI NOR flash on Phytec phyFLEX-i.MX6 Ouad module Philipp Zabel
@ 2013-07-24 16:35 ` Philipp Zabel
2013-07-24 18:33 ` [PATCH 1/2] ARM i.MX6Q: dts: Enable SPI NOR flash " Sergei Shtylyov
1 sibling, 0 replies; 5+ messages in thread
From: Philipp Zabel @ 2013-07-24 16:35 UTC (permalink / raw)
To: linux-arm-kernel
This patch enables I2C1 and adds device tree nodes for the EEPROM and the
DA9063 PMIC connected to this I2C bus.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi | 91 ++++++++++++++++++++++++++++++
1 file changed, 91 insertions(+)
diff --git a/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
index 5113d29..8d1a548 100644
--- a/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
+++ b/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
@@ -34,6 +34,96 @@
};
};
+&i2c1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_i2c1_1>;
+ status = "okay";
+
+ eeprom at 50 {
+ compatible = "atmel,24c32";
+ reg = <0x50>;
+ };
+
+ pmic at 58 {
+ compatible = "dialog,da9063";
+ reg = <0x58>;
+ interrupt-parent = <&gpio4>;
+ interrupts = <17 0x8>; /* active-low GPIO4_17 */
+
+ regulators {
+ vddcore_reg: bcore1 {
+ regulator-min-microvolt = <730000>;
+ regulator-max-microvolt = <1380000>;
+ regulator-always-on;
+ };
+
+ vddsoc_reg: bcore2 {
+ regulator-min-microvolt = <730000>;
+ regulator-max-microvolt = <1380000>;
+ regulator-always-on;
+ };
+
+ vdd_ddr3_reg: bpro {
+ regulator-min-microvolt = <1500000>;
+ regulator-max-microvolt = <1500000>;
+ regulator-always-on;
+ };
+
+ vdd_3v3_reg: bperi {
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
+
+ vdd_buckmem_reg: bmem {
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
+
+ vdd_eth_reg: bio {
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-always-on;
+ };
+
+ vdd_eth_io_reg: ldo4 {
+ regulator-min-microvolt = <2500000>;
+ regulator-max-microvolt = <2500000>;
+ regulator-always-on;
+ };
+
+ vdd_mx6_snvs_reg: ldo5 {
+ regulator-min-microvolt = <3000000>;
+ regulator-max-microvolt = <3000000>;
+ regulator-always-on;
+ };
+
+ vdd_3v3_pmic_io_reg: ldo6 {
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
+
+ vdd_sd0_reg: ldo9 {
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ };
+
+ vdd_sd1_reg: ldo10 {
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ };
+
+ vdd_mx6_high_reg: ldo11 {
+ regulator-min-microvolt = <3000000>;
+ regulator-max-microvolt = <3000000>;
+ regulator-always-on;
+ };
+ };
+ };
+};
+
&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog>;
@@ -43,6 +133,7 @@
fsl,pins = <
MX6Q_PAD_EIM_D23__GPIO3_IO23 0x80000000
MX6Q_PAD_DISP0_DAT3__GPIO4_IO24 0x80000000 /* SPI NOR chipselect */
+ MX6Q_PAD_DI0_PIN15__GPIO4_IO17 0x80000000 /* PMIC interrupt */
>;
};
};
--
1.8.3.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 1/2] ARM i.MX6Q: dts: Enable SPI NOR flash on Phytec phyFLEX-i.MX6 Ouad module
2013-07-24 16:35 [PATCH 1/2] ARM i.MX6Q: dts: Enable SPI NOR flash on Phytec phyFLEX-i.MX6 Ouad module Philipp Zabel
2013-07-24 16:35 ` [PATCH 2/2] ARM i.MX6Q: dts: Enable I2C1 with EEPROM and PMIC " Philipp Zabel
@ 2013-07-24 18:33 ` Sergei Shtylyov
2013-07-25 2:36 ` Shawn Guo
1 sibling, 1 reply; 5+ messages in thread
From: Sergei Shtylyov @ 2013-07-24 18:33 UTC (permalink / raw)
To: linux-arm-kernel
Hello.
On 07/24/2013 08:35 PM, Philipp Zabel wrote:
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> ---
> arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
> diff --git a/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
> index f5e1981..5113d29 100644
> --- a/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
> +++ b/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
> @@ -20,6 +20,20 @@
> };
> };
>
> +&ecspi3 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_ecspi3_1>;
> + status = "okay";
> + fsl,spi-num-chipselects = <1>;
> + cs-gpios = <&gpio4 24 0>;
> +
> + flash: m25p80 at 0 {
Quoting the EPAPR spec [1]: "The name of a node should be somewhat
generic, reflecting the function of the device and not its precise programming
model. If appropriate, the name should be one of the following choices:
[...]
- flash
[...]
"
[1] http://www.power.org/resources/downloads/Power_ePAPR_APPROVED_v1.0.pdf
WBR, Sergei
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] ARM i.MX6Q: dts: Enable SPI NOR flash on Phytec phyFLEX-i.MX6 Ouad module
2013-07-24 18:33 ` [PATCH 1/2] ARM i.MX6Q: dts: Enable SPI NOR flash " Sergei Shtylyov
@ 2013-07-25 2:36 ` Shawn Guo
2013-07-25 11:00 ` Philipp Zabel
0 siblings, 1 reply; 5+ messages in thread
From: Shawn Guo @ 2013-07-25 2:36 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Jul 24, 2013 at 10:33:20PM +0400, Sergei Shtylyov wrote:
> Hello.
>
> On 07/24/2013 08:35 PM, Philipp Zabel wrote:
>
> >Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> >---
> > arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi | 15 +++++++++++++++
> > 1 file changed, 15 insertions(+)
>
> >diff --git a/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
> >index f5e1981..5113d29 100644
> >--- a/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
> >+++ b/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
> >@@ -20,6 +20,20 @@
> > };
> > };
> >
> >+&ecspi3 {
> >+ pinctrl-names = "default";
> >+ pinctrl-0 = <&pinctrl_ecspi3_1>;
> >+ status = "okay";
> >+ fsl,spi-num-chipselects = <1>;
> >+ cs-gpios = <&gpio4 24 0>;
> >+
> >+ flash: m25p80 at 0 {
>
> Quoting the EPAPR spec [1]: "The name of a node should be
> somewhat generic, reflecting the function of the device and not its
> precise programming model. If appropriate, the name should be one of
> the following choices:
> [...]
> - flash
I fixed it up and applied the series.
Shawn
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] ARM i.MX6Q: dts: Enable SPI NOR flash on Phytec phyFLEX-i.MX6 Ouad module
2013-07-25 2:36 ` Shawn Guo
@ 2013-07-25 11:00 ` Philipp Zabel
0 siblings, 0 replies; 5+ messages in thread
From: Philipp Zabel @ 2013-07-25 11:00 UTC (permalink / raw)
To: linux-arm-kernel
Am Donnerstag, den 25.07.2013, 10:36 +0800 schrieb Shawn Guo:
> On Wed, Jul 24, 2013 at 10:33:20PM +0400, Sergei Shtylyov wrote:
> > Hello.
> >
> > On 07/24/2013 08:35 PM, Philipp Zabel wrote:
> >
> > >Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> > >---
> > > arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi | 15 +++++++++++++++
> > > 1 file changed, 15 insertions(+)
> >
> > >diff --git a/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
> > >index f5e1981..5113d29 100644
> > >--- a/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
> > >+++ b/arch/arm/boot/dts/imx6q-phytec-pfla02.dtsi
> > >@@ -20,6 +20,20 @@
> > > };
> > > };
> > >
> > >+&ecspi3 {
> > >+ pinctrl-names = "default";
> > >+ pinctrl-0 = <&pinctrl_ecspi3_1>;
> > >+ status = "okay";
> > >+ fsl,spi-num-chipselects = <1>;
> > >+ cs-gpios = <&gpio4 24 0>;
> > >+
> > >+ flash: m25p80 at 0 {
> >
> > Quoting the EPAPR spec [1]: "The name of a node should be
> > somewhat generic, reflecting the function of the device and not its
> > precise programming model. If appropriate, the name should be one of
> > the following choices:
> > [...]
> > - flash
>
> I fixed it up and applied the series.
thanks
Philipp
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-07-25 11:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-24 16:35 [PATCH 1/2] ARM i.MX6Q: dts: Enable SPI NOR flash on Phytec phyFLEX-i.MX6 Ouad module Philipp Zabel
2013-07-24 16:35 ` [PATCH 2/2] ARM i.MX6Q: dts: Enable I2C1 with EEPROM and PMIC " Philipp Zabel
2013-07-24 18:33 ` [PATCH 1/2] ARM i.MX6Q: dts: Enable SPI NOR flash " Sergei Shtylyov
2013-07-25 2:36 ` Shawn Guo
2013-07-25 11:00 ` Philipp Zabel
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).