YuriyKl Posted August 8, 2022 Posted August 8, 2022 (edited) not an expert in device-tree, anybody knows how enable uart2/uart4? dts is attached. expressobin v7 mainline many thanks. armada-3720-espressobin-v7.dts Edited August 8, 2022 by YuriyKl 0 Quote
ManoftheSea Posted August 9, 2022 Posted August 9, 2022 From armada-3720-espressobin.dtsi:128 Connector J17 and J18 expose a number of different features. Some pins are multiplexed. This is the case for instance for the following features: * - UART1 (pin 24 = RX, pin 26 = TX). See armada-3720-db.dts for an example of how to enable it. Beware that the signals are 1.8V TTL. The db.dts:204 gives /* CON26(V2.0)/CON28(V1.4) */ &uart1 { pinctrl-names = "default"; pinctrl-0 = <&uart2_pins>; status = "okay"; }; uart0 and uart1 are defined in armada-37xx.dtsi. So if you want to enable more than that, it sounds like multiple modifications, and I don't know any better how to help. 0 Quote
YuriyKl Posted August 9, 2022 Author Posted August 9, 2022 1 hour ago, ManoftheSea said: The db.dts:204 gives /* CON26(V2.0)/CON28(V1.4) */ &uart1 { pinctrl-names = "default"; pinctrl-0 = <&uart2_pins>; status = "okay"; }; Should i add it to the end of dts file? 0 Quote
Pali Posted September 11, 2022 Posted September 11, 2022 You should add that chunk of dts code to the original source device tree file and not into the decompiled device tree binary (which you attached into the first post). 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.