arm64: dts: ti: k3-am62x-sk-common: Cleanups and minor additions
Subsystems (2)
Nishanth Menon
maintainercover arm64: dts: ti: k3-am62x-sk-common: Cleanups and minor additions
Hi,
This is a result of looking to cleanup u-boot and realizing there are pieces missing in kernel that need to be pushed out.
So, minor cleanups and adding a few missing pieces.
Bootlog: https://gist.github.com/nmenon/5e18c8d02c13cf00db649b6f01971d99
Nishanth Menon (4):
arm64: dts: ti: k3-am62x-sk-common: Drop extra EoL
arm64: dts: ti: k3-am62x-sk-common: Describe main_uart1 and wkup_uart
arm64: dts: ti: k3-am62x-sk-common: Add eeprom
arm64: dts: ti: k3-am62x-sk-common: Improve documentation of
mcasp1_pins
.../arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 39 ++++++++++++++++--- 1 file changed, 34 insertions(+), 5 deletions(-)
Signature · 1 line
2.40.0
Nishanth Menon
maintainerPATCH 1/4 arm64: dts: ti: k3-am62x-sk-common: Drop extra EoL
Drop an extra EoL
--- arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 1 - 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi +0 -1
@@ -32,7 +32,6 @@ memory@80000000 { device_type = "memory"; /* 2G RAM */ reg = <0x00000000 0x80000000 0x00000000 0x80000000>; - }; reserved-memory {
Signature · 1 line
2.40.0
Nishanth Menon
maintainerPATCH 2/4 arm64: dts: ti: k3-am62x-sk-common: Describe main_uart1 and wkup_uart
In reply to Nishanth Menonwkup_uart and main_uart1 on this platform is used by tifs and DM firmwares. Describe them for completeness including the pinmux.
--- .../arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+)
arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi +24 -0
@@ -126,6 +126,15 @@ AM62X_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14/E11) UART0_TXD */ >; }; + main_uart1_pins_default: main-uart1-pins-default { + pinctrl-single,pins = < + AM62X_IOPAD(0x194, PIN_INPUT, 2) /* (B19/B18) MCASP0_AXR3.UART1_CTSn */ + AM62X_IOPAD(0x198, PIN_OUTPUT, 2) /* (A19/B17) MCASP0_AXR2.UART1_RTSn */ + AM62X_IOPAD(0x1ac, PIN_INPUT, 2) /* (E19/D15) MCASP0_AFSR.UART1_RXD */ + AM62X_IOPAD(0x1b0, PIN_OUTPUT, 2) /* (A20/D16) MCASP0_ACLKR.UART1_TXD */ + >; + }; + main_i2c0_pins_default: main-i2c0-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x1e0, PIN_INPUT_PULLUP, 0) /* (B16/E12) I2C0_SCL */
@@ -220,9 +229,22 @@ AM62X_IOPAD(0x084, PIN_INPUT, 2) /* (L23) GPMC0_ADVN_ALE.MCASP1_AXR2 */ }; }; +&mcu_pmx0 { + wkup_uart0_pins_default: wkup-uart0-pins-default { + pinctrl-single,pins = < + AM62X_MCU_IOPAD(0x02c, PIN_INPUT, 0) /* (C6/A7) WKUP_UART0_CTSn */ + AM62X_MCU_IOPAD(0x030, PIN_OUTPUT, 0) /* (A4/B4) WKUP_UART0_RTSn */ + AM62X_MCU_IOPAD(0x024, PIN_INPUT, 0) /* (B4/B5) WKUP_UART0_RXD */ + AM62X_MCU_IOPAD(0x028, PIN_OUTPUT, 0) /* (C5/C6) WKUP_UART0_TXD */ + >; + }; +}; + &wkup_uart0 { /* WKUP UART0 is used by DM firmware */ status = "reserved"; + pinctrl-names = "default"; + pinctrl-0 = <&wkup_uart0_pins_default>; }; &main_uart0 {
@@ -234,6 +256,8 @@ &main_uart0 { &main_uart1 { /* Main UART1 is used by TIFS firmware */ status = "reserved"; + pinctrl-names = "default"; + pinctrl-0 = <&main_uart1_pins_default>; }; &main_i2c0 {
Signature · 1 line
2.40.0
Nishanth Menon
maintainerPATCH 3/4 arm64: dts: ti: k3-am62x-sk-common: Add eeprom
In reply to Nishanth MenonAdd board EEPROM support to device tree
--- arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi +6 -0
@@ -265,6 +265,12 @@ &main_i2c0 { pinctrl-names = "default"; pinctrl-0 = <&main_i2c0_pins_default>; clock-frequency = <400000>; + + eeprom@51 { + /* AT24C512C-MAHM-T or M24512-DFMC6TG */ + compatible = "atmel,24c512"; + reg = <0x51>; + }; }; &main_i2c1 {
Signature · 1 line
2.40.0
Nishanth Menon
maintainerPATCH 4/4 arm64: dts: ti: k3-am62x-sk-common: Improve documentation of mcasp1_pins
In reply to Nishanth MenonInclude documentation of the AMC package pin name as well to keep it consistent with the rest of the pinctrl documentation.
--- arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi +4 -4
@@ -221,10 +221,10 @@ AM62X_IOPAD(0x0258, PIN_OUTPUT, 0) /* (F18/E16) USB1_DRVVBUS */ main_mcasp1_pins_default: main-mcasp1-pins-default { pinctrl-single,pins = < - AM62X_IOPAD(0x090, PIN_INPUT, 2) /* (M24) GPMC0_BE0N_CLE.MCASP1_ACLKX */ - AM62X_IOPAD(0x098, PIN_INPUT, 2) /* (U23) GPMC0_WAIT0.MCASP1_AFSX */ - AM62X_IOPAD(0x08c, PIN_OUTPUT, 2) /* (L25) GPMC0_WEN.MCASP1_AXR0 */ - AM62X_IOPAD(0x084, PIN_INPUT, 2) /* (L23) GPMC0_ADVN_ALE.MCASP1_AXR2 */ + AM62X_IOPAD(0x090, PIN_INPUT, 2) /* (M24/K17) GPMC0_BE0N_CLE.MCASP1_ACLKX */ + AM62X_IOPAD(0x098, PIN_INPUT, 2) /* (U23/P21) GPMC0_WAIT0.MCASP1_AFSX */ + AM62X_IOPAD(0x08c, PIN_OUTPUT, 2) /* (L25/J17) GPMC0_WEN.MCASP1_AXR0 */ + AM62X_IOPAD(0x084, PIN_INPUT, 2) /* (L23/K20) GPMC0_ADVN_ALE.MCASP1_AXR2 */ >; }; };
Signature · 1 line
2.40.0
Hi Nishanth Menon,
Quoted 8 lines · Nishanth Menon
This is a result of looking to cleanup u-boot and realizing there are pieces missing in kernel that need to be pushed out.
So, minor cleanups and adding a few missing pieces.
Bootlog: https://gist.github.com/nmenon/5e18c8d02c13cf00db649b6f01971d99
[...]
I have applied the following to branch ti-k3-dts-next on [1]. Thank you!
[1/4] arm64: dts: ti: k3-am62x-sk-common: Drop extra EoL
commit: 477d43f6d8546597e007a3a2ebd19f6e4e090fee
[2/4] arm64: dts: ti: k3-am62x-sk-common: Describe main_uart1 and wkup_uart
commit: 76194aba0c30b1ee25067b34235141443bd078fb
[3/4] arm64: dts: ti: k3-am62x-sk-common: Add eeprom
commit: f40ed3b39b486ed8fbca7aa4a319c8d1d14ac97d
[4/4] arm64: dts: ti: k3-am62x-sk-common: Improve documentation of mcasp1_pins
commit: 5cab8abaee22470523a5293994a52784360a7926All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel