ARM:dts:imx6:phyflex: dt update
Subsystems (2)
cover ARM:dts:imx6:phyflex: dt update
This series updates the PHYTEC phyFLEX-i.MX6 board.
- set nodes in correct order
- enables gpmi in pfla02
- sets the correct PMIC interrupt
- add support for PCIe and CAN
Based on branch for-next from Shawn Guo:git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git
Christian Hemp (5):
ARM:dts:imx6:phyFLEX: set nodes in alphabetical order ARM:dts:imx6:phyFLEX: Enable gpmi in module file ARM:dts:imx6:phyFLEX: Set correct interrupt for pmic ARM:dts:imx6:phyFLEX: Add PCIe ARM:dts:imx6:phyFLEX: Add CAN support
arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 8 +++- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 56 ++++++++++++++++++++-------- 2 files changed, 46 insertions(+), 18 deletions(-)
Signature · 1 line
1.9.1
PATCH 1/5 ARM:dts:imx6:phyFLEX: set nodes in alphabetical order
The gmpi and fec node were not in alphabatical order.
--- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 32 ++++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-)
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +16 -16
@@ -78,6 +78,22 @@ }; }; +&fec { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_enet>; + phy-mode = "rgmii"; + phy-reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>; + phy-supply = <&vdd_eth_io_reg>; + status = "disabled"; +}; + +&gpmi { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpmi_nand>; + nand-on-flash-bbt; + status = "disabled"; +}; + &i2c1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c1>;
@@ -337,22 +353,6 @@ }; }; -&fec { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_enet>; - phy-mode = "rgmii"; - phy-reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>; - phy-supply = <&vdd_eth_io_reg>; - status = "disabled"; -}; - -&gpmi { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_gpmi_nand>; - nand-on-flash-bbt; - status = "disabled"; -}; - &uart3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart3>;
Signature · 1 line
1.9.1
PATCH 2/5 ARM:dts:imx6:phyFLEX: Enable gpmi in module file
In reply to Christian HempThe nand is on the module (PFL-A-02) and not on the baseboard (PBA-B-01).
--- arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 4 ---- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-)
arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi +0 -4
@@ -105,10 +105,6 @@ status = "okay"; }; -&gpmi { - status = "okay"; -}; - &hdmi { status = "okay"; };
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +1 -1
@@ -91,7 +91,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpmi_nand>; nand-on-flash-bbt; - status = "disabled"; + status = "okay"; }; &i2c1 {
Signature · 1 line
1.9.1
PATCH 2/5 ARM:dts:imx6:phyFLEX: Enable gpmi in module file
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi line 96
Quoted 10 lines · On Friday 14 November 2014 14:32:23 Christian Hemp wrote:
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +1
-1@@ -91,7 +91,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpmi_nand>; nand-on-flash-bbt; - status = "disabled"; + status = "okay"; };
No need for the property unless you are overriding a 'status="disabled"' from another file. Just remove this property here.
Arnd
PATCH 2/5 ARM:dts:imx6:phyFLEX: Enable gpmi in module file
Hello Arnd,
Am Freitag, 14. November 2014, 15:55:11 schrieb Arnd Bergmann:
Quoted 9 lines · On Friday 14 November 2014 14:32:23 Christian Hemp wrote:
Quoted 8 lines
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +0
-0@@ -91,7 +91,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpmi_nand>; nand-on-flash-bbt;
Quoted 7 lines
Quoted 4 lines
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +1
-1- status = "disabled"; + status = "okay";};
No need for the property unless you are overriding a 'status="disabled"' from another file. Just remove this property here.
the status is disabled in 'arch/arm/boot/dts/imx6qdl.dtsi'.
That why I enabled it in the 'arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi'.
Christian
Quoted 2 lines
Arnd
PATCH 2/5 ARM:dts:imx6:phyFLEX: Enable gpmi in module file
Quoted 13 lines · On Monday 17 November 2014 09:27:37 Christian Hemp wrote:
Am Freitag, 14. November 2014, 15:55:11 schrieb Arnd Bergmann:
Quoted 12 lines · On Friday 14 November 2014 14:32:23 Christian Hemp wrote:
Quoted 11 lines
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +1
-1@@ -91,7 +91,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpmi_nand>; nand-on-flash-bbt; - status = "disabled"; + status = "okay";
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
};
No need for the property unless you are overriding a 'status="disabled"' from another file. Just remove this property here.
the status is disabled in '
arch/arm/boot/dts/imx6qdl.dtsi'.
That why I enabled it in the 'arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi'.
Ok, makes sense. Thanks for the clarification.
Arnd
PATCH 3/5 ARM:dts:imx6:phyFLEX: Set correct interrupt for pmic
In reply to Christian HempThe PMIC interrupt was changed from modul revision 1 to 2. Revision 1 was declared as a prototype and is not in series by any customers.
--- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +3 -3
@@ -107,8 +107,8 @@ pmic at 58 { compatible = "dlg,da9063"; reg = <0x58>; - interrupt-parent = <&gpio4>; - interrupts = <17 0x8>; /* active-low GPIO4_17 */ + interrupt-parent = <&gpio2>; + interrupts = <9 0x8>; /* active-low GPIO2_9 */ regulators { vddcore_reg: bcore1 {
@@ -205,7 +205,7 @@ fsl,pins = < MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x80000000 MX6QDL_PAD_DISP0_DAT3__GPIO4_IO24 0x80000000 /* SPI NOR chipselect */ - MX6QDL_PAD_DI0_PIN15__GPIO4_IO17 0x80000000 /* PMIC interrupt */ + MX6QDL_PAD_SD4_DAT1__GPIO2_IO09 0x80000000 /* PMIC interrupt */ MX6QDL_PAD_ENET_TXD0__GPIO1_IO30 0x80000000 /* Green LED */ MX6QDL_PAD_EIM_EB3__GPIO2_IO31 0x80000000 /* Red LED */ >;
Signature · 1 line
1.9.1
PATCH 4/5 ARM:dts:imx6:phyFLEX: Add PCIe
In reply to Christian HempAdd PCIe support for Phytec phyFLEX-i.MX6 (PFL-A-02 and PBA-B-01).
--- arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 4 ++++ arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 11 +++++++++++ 2 files changed, 15 insertions(+)
arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi +4 -0
@@ -144,6 +144,10 @@ status = "okay"; }; +&pcie { + status = "okay"; +}; + &ssi2 { status = "okay"; };
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +11 -0
@@ -283,6 +283,10 @@ >; }; + pinctrl_pcie: pciegrp { + fsl,pins = <MX6QDL_PAD_DI0_PIN15__GPIO4_IO17 0x80000000>; + }; + pinctrl_uart3: uart3grp { fsl,pins = < MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
@@ -353,6 +357,13 @@ }; }; +&pcie { + pinctrl-name = "default"; + pinctrl-0 = <&pinctrl_pcie>; + reset-gpio = <&gpio4 17 0>; + status = "disabled"; +}; + &uart3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart3>;
Signature · 1 line
1.9.1
PATCH 5/5 ARM:dts:imx6:phyFLEX: Add CAN support
In reply to Christian HempAdd CAN support for Phytec phyFLEX-i.MX6 (PFL-A-02 and PBA-B-01).
--- arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 4 ++++ arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 13 +++++++++++++ 2 files changed, 17 insertions(+)
arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi +4 -0
@@ -101,6 +101,10 @@ }; }; +&can1 { + status = "okay"; +}; + &fec { status = "okay"; };
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +13 -0
@@ -64,6 +64,12 @@ status = "disabled"; }; +&can1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexcan1>; + status = "disabled"; +}; + &ecspi3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ecspi3>;
@@ -240,6 +246,13 @@ >; }; + pinctrl_flexcan1: flexcan1grp { + fsl,pins = < + MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b0 + MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b0b0 + >; + }; + pinctrl_gpmi_nand: gpminandgrp { fsl,pins = < MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1
Signature · 1 line
1.9.1
Shawn Guo
Appliedcover ARM:dts:imx6:phyflex: dt update
In reply to Christian HempQuoted 9 lines · Christian Hemp
This series updates the PHYTEC phyFLEX-i.MX6 board.
- set nodes in correct order
- enables gpmi in pfla02
- sets the correct PMIC interrupt
- add support for PCIe and CANBased on branch for-next from Shawn Guo:
git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git
Quoted 6 lines
Christian Hemp (5):
ARM:dts:imx6:phyFLEX: set nodes in alphabetical order ARM:dts:imx6:phyFLEX: Enable gpmi in module file ARM:dts:imx6:phyFLEX: Set correct interrupt for pmic ARM:dts:imx6:phyFLEX: Add PCIe ARM:dts:imx6:phyFLEX: Add CAN support
Applied all, thanks.