Jump to content

piglet

Members
  • Posts

    3
  • Joined

  • Last visited

  1. Thank you very much for help. The overlay approach is really simple to use. The file that worked is following: /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; fragment@0 { target = <&reg_vcc_wifi>; __overlay__ { gpio = <&pio 0 2 1>; }; }; }; I saved it to a file: sun8i-h3-reg_vcc_wifi.dts Than I added it as an overlay using command armbian-add-overlay sun8i-h3-reg_vcc_wifi.dts After reboot it was working. This was done on: - Orange Pi Zero with soldered connection for wifi supply from another pin - Armbian 23.11.0 6.1.56-current-sunxi
  2. Hi, I have a board Orange Pi Zero with modified PAs for power of WiFi module from PA20 to PA02, by soldering a connection on board. This is done to allow connection of I2C DAC. I see that board definition in 'u-boot/configs/orangepi_zero_defconfig' It uses dts definition of: 'arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts' I need to modify one section of this dts file from: reg_vcc_wifi: reg_vcc_wifi { compatible = "regulator-fixed"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-name = "vcc-wifi"; enable-active-high; gpio = <&pio 0 20 GPIO_ACTIVE_HIGH>; to: reg_vcc_wifi: reg_vcc_wifi { compatible = "regulator-fixed"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-name = "vcc-wifi"; enable-active-high; gpio = <&pio 0 2 GPIO_ACTIVE_HIGH>; How can I do this and use armbian build script: compile.sh Thanks, Michal
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines