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.

Enable High pin boot

Featured Replies

Hi all,

I wrote this dts to enable a high PG12 pin int the Bananapi M2P H3
can it be okay?

/dts-v1/;
/plugin/;

/ {
	compatible = "allwinner,sun8i-h3";

	fragment@0 {
		
		target = <&pio>;
		__overlay__ {
			bt_pins:bt_pins {
        		allwinner,pins = "PG12";
        		allwinner,function = "gpio_out";

			};
		};
	};

	fragment@1 {
	
		target-path = "/";
        	__overlay__ {
            		bt: bt {
                	compatible = "gpio-bt";
                	gpios = <&pio 6 12 1>;
 			};
    		};
	};
};

 

Hi @cusna ! Did you manage to get it working ? I'm trying to have this same functionality on my NanoPi Duo - only difference is pin number - PG11 - still no success.

Long week of digging in DT docs and internet resource and I'm still "thick as a brick" :(

  • Author

I'm not good at it, and I don't know if it will be the right way, but to make my PG12 high after booting, I modified the sun8i-h3-bananapi-m2-plus.dtb file (in my case the board is a bananapi m2 plus) in /boot/dtb after decompiling it

adding then 

		pwr_din {
			label = "bananapi-m2-plus:din:pwr";
			gpios = <0xf 0x0 0x2 0x0>;
			default-state = "on";
		};

and recompiling. In your case you will have to change the door and the gpio depending on your processor which I don't know if it's an H3

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.