Jump to content

mantouboji

Members
  • Posts

    137
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

4076 profile views
  1. sun50i-h616-spidev1_1.dtso /dts-v1/; /plugin/; / { compatible = "allwinner,sun50i-h616"; fragment@0 { target-path = "/aliases"; __overlay__ { spi1 = "/soc/spi@5011000"; }; }; fragment@1 { target = <&spi1>; __overlay__ { status = "okay"; #address-cells = <1>; #size-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&spi1_pins>,<&spi1_cs1_pin>; spidev1_1: spidev@1 { compatible = "armbian,spi-dev"; status = "okay"; reg = <1>; spi-max-frequency = <1000000>; }; }; }; };
  2. /dts-v1/; /plugin/; / { compatible = "allwinner,sun50i-h616"; fragment@0 { target-path = "/aliases"; __overlay__ { spi1 = "/soc/spi@5011000"; }; }; fragment@1 { target = <&spi1>; __overlay__ { status = "okay"; #address-cells = <1>; #size-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&spi1_pins>,<&spi1_cs1_pin>; spidev1_1: spidev@1 { compatible = "armbian,spi-dev"; status = "okay"; reg = <1>; spi-max-frequency = <1000000>; }; }; }; }; sun50i-h616-spidev1_1.dtso
  3. /* * PPS-GPIO for H616 */ /dts-v1/; /plugin/; / { compatible = "allwinner,sun50i-h616"; fragment@0 { target = <&pio>; __overlay__ { pps_pins: pps_pins { pins = "PC9"; // Zero2 & 3 // pins = "PI5"; // Zero2w function = "pps"; }; }; }; fragment@1 { target-path = "/"; __overlay__ { pps@0 { compatible = "pps-gpio"; pinctrl-names = "default"; pinctrl-0 = <&pps_pins>; gpios = <&pio 2 9 0>; /* PC9 */ // Zero2 & 3 //gpios = <&pio 8 5 0>; /* PI5 */ // Zero2w status = "okay"; }; }; }; };
  4. Yes, you removed this patch in 6.13: - patches.armbian/arm64-dts-sun50i-h618-orangepi-zero2w-Add-missing-nodes.patch
  5. use the old dtb file in 6.12.16, wifi works. please check the dts patchsets .
  6. It seems there are no any on-board wifi nodes (vcc33-wifi, vcc-wifi-io, wifi-pwrseq ) in sun50i-h618-orangepi-zero2w.dtb , and exists in Zero 3 dts . zero2w.dts: type_addr_wifi = <0x02>; zero3.dts: type_addr_wifi = <0x02>; zero3.dts: vcc33-wifi { zero3.dts: regulator-name = "vcc33-wifi"; zero3.dts: vcc-wifi-io { zero3.dts: regulator-name = "vcc-wifi-io"; zero3.dts: wifi-pwrseq { zero3.dts: reg_vcc33_wifi = "/vcc33-wifi"; zero3.dts: reg_vcc_wifi_io = "/vcc-wifi-io"; zero3.dts: wifi_pwrseq = "/wifi-pwrseq";
  7. I made this simple dts file for my GPS NTP server running on Zero2/3 and Zero2w On Zero2, use PC9 as PPS in , and on Zero2W use PI5 . It should be configured in /boot/armbianEnv.txt, but I unsuccess on zero2w, so you must comment out two lines and compile it by yourself. Maybe help someone. sun50i-h616-pps-gpio.dtso
  8. I built it from the latest build system from github . For Zero2 and Zero3, it must be freezen in booting stage, stopped when mount something. Maybe other boards are OK?
  9. It is just a DTS error , not assign CS pin . I found it has fixed in Zero2W DTS file of 6.12 kernel , but not in other H616/618 boards
  10. I‘ve made a DTS Overlay for SPI 1.1 interface, now it works. Maybe put into kernel tree further.
  11. I modified the sun50i-h616-spidev1_1 dts file , it seems work. sun50i-h616-spidev1_1.dtbo sun50i-h616-spidev1_1.dtso sun50i-h616-spi-spidev.dtbo sun50i-h616-spi-spidev.dtso
  12. It seems the CS pin is not configured in the dts overlay . I tried to add them and failed.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines