Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to enable uart2/uart4 in dtc file?

Featured Replies

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.

  • Author
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?

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).

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.