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.

OrangePi Zero Devicetree GPIO pullup

Featured Replies

Hi,

 

I need to configure a GPIO as input with pullup enabled and tried https://forum.armbian.com/topic/10462-nanopi-neo-2-set-input-pull-up-via-device-tree/

For some reason PIN PG06 is still floating. It is not pinned to 3,3V.

 

PG06 -> GPIO198 -> UART1_TX/PG06 right?

Multimeter shows ~0,447V

 

 

/dts-v1/;
/plugin/;

/ {
  compatible = "allwinner,sun8i-h3";
  
  /*
   * This fragment is needed only for the internal pull-up activation,
   * external pull-up resistor is highly recommended if using long wires
   */
  fragment@0 {
    target = <&pio>;
    __overlay__ {
      input_0: input_0 {
        pins = "PG6";
        function = "gpio_in";
        bias-pull-up;
      };
    };
  };

};

 

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.