Skip to contentSkip to conversation

ARM: dts: vf610-zii-dev-rev-b: Remove leftover PWM pingroup

PATCH Superseded Andrey Smirnov 1 participant 3 messages Dec 5, 2016

Subsystems (2)

v3 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/3 ARM: dts: vf610-zii-dev-rev-b: Remove leftover PWM pingroup

Remove pwm0grp since it is:

a) Not referenced anywhere in the DTS file (unlike Tower board it is based on, this board does not use/expose FTM0)

b) Configures PTB2 and PTB3 in a way that contradicts pinctrl-mdio-mux

---

Changes since v2:

- None

 arch/arm/boot/dts/vf610-zii-dev-rev-b.dts | 9 ---------
 1 file changed, 9 deletions(-)
arch/arm/boot/dts/vf610-zii-dev-rev-b.dts +0 -9
index fa19cfd..2210811 100644
@@ -677,15 +677,6 @@
 		>;
 	};
 
-	pinctrl_pwm0: pwm0grp {
-		fsl,pins = <
-			VF610_PAD_PTB0__FTM0_CH0	0x1582
-			VF610_PAD_PTB1__FTM0_CH1	0x1582
-			VF610_PAD_PTB2__FTM0_CH2	0x1582
-			VF610_PAD_PTB3__FTM0_CH3	0x1582
-		>;
-	};
-
 	pinctrl_qspi0: qspi0grp {
 		fsl,pins = <
 			VF610_PAD_PTD7__QSPI0_B_QSCK	0x31c3
Signature · 1 line
2.5.5
#1 lore raw

PATCH v3 2/3 ARM: dts: vf610-zii-dev: Add .dts file for rev. C

Add .dts file for rev. C of the board by factoring out commonalities into a shared include file (vf610-zii-dev-rev-b-c.dtsi) and deriving revision specific file from it (vf610-zii-dev-rev-b.dts and vf610-zii-dev-reb-c.dts).

---

Changes since v2:

- Removed unnecessary "ethernet-phy-id0022.1550" string from ethernet-phy at 0 node

- Correctecd IRQ_TYPE_EDGE_FALLING to IRQ_TYPE_LEVEL_LOW in ethernet-phy at 0, since that's what KS8091 corresponding to that node uses

- Changed PTB28's pinmux configuration to include a 47kOhm pullup to pull aforementioned PHY IRQ line to unasserted level by default

 arch/arm/boot/dts/Makefile                |   3 +-
 arch/arm/boot/dts/vf610-zii-dev-rev-b.dts | 300 +----------------------
 arch/arm/boot/dts/vf610-zii-dev-rev-c.dts | 394 ++++++++++++++++++++++++++++++
 arch/arm/boot/dts/vf610-zii-dev.dtsi      | 383 +++++++++++++++++++++++++++++
 4 files changed, 780 insertions(+), 300 deletions(-)
 create mode 100644 arch/arm/boot/dts/vf610-zii-dev-rev-c.dts
 create mode 100644 arch/arm/boot/dts/vf610-zii-dev.dtsi
arch/arm/boot/dts/Makefile +2 -1
index befcd26..9f0d2a1 100644
@@ -442,7 +442,8 @@ dtb-$(CONFIG_SOC_VF610) += \
 	vf610-cosmic.dtb \
 	vf610m4-cosmic.dtb \
 	vf610-twr.dtb \
-	vf610-zii-dev-rev-b.dtb
+	vf610-zii-dev-rev-b.dtb \
+	vf610-zii-dev-rev-c.dtb
 dtb-$(CONFIG_ARCH_MXS) += \
 	imx23-evk.dtb \
 	imx23-olinuxino.dtb \
arch/arm/boot/dts/vf610-zii-dev-rev-b.dts +1 -299

347 lines not on this page · raw message

arch/arm/boot/dts/vf610-zii-dev-rev-c.dts new file +394 -0

394 lines not on this page · raw message

arch/arm/boot/dts/vf610-zii-dev.dtsi new file +383 -0

383 lines not on this page · raw message

Signature · 1 line
2.5.5
#2 lore raw

PATCH v3 3/3 ARM: dts: vf610-zii-dev-rev-b: Remove 'fixed-link' from DSA ports

In reply to Andrey Smirnov

Remove 'fixed-link' nodes from DSA ports since they are not needed (they are not limiting link's speed and the ports will be configured to their maximux speed as a default)

---

Changes since v2:

- None

 arch/arm/boot/dts/vf610-zii-dev-rev-b.dts | 8 --------
 1 file changed, 8 deletions(-)
arch/arm/boot/dts/vf610-zii-dev-rev-b.dts +0 -8
index c0fc3f2..646c90c 100644
@@ -97,10 +97,6 @@
 						phy-mode = "rgmii-txid";
 						link = <&switch1port6
 							&switch2port9>;
-						fixed-link {
-							speed = <1000>;
-							full-duplex;
-						};
 					};
 
 					port at 6 {
@@ -165,10 +161,6 @@
 						label = "dsa";
 						phy-mode = "rgmii-txid";
 						link = <&switch0port5>;
-						fixed-link {
-							speed = <1000>;
-							full-duplex;
-						};
 					};
 				};
 				mdio {
Signature · 1 line
2.5.5