-
Posts
137 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Everything posted by mantouboji
-
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>; }; }; }; };
-
/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
-
pps-gpio dts file for Zero 2/3 and Zero2w
mantouboji replied to mantouboji's topic in Allwinner sunxi
/* * 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"; }; }; }; };- 3 replies
-
- Orange Pi Zero 2
- Orange Pi Zero 3
-
(and 1 more)
Tagged with:
-
Yes, you removed this patch in 6.13: - patches.armbian/arm64-dts-sun50i-h618-orangepi-zero2w-Add-missing-nodes.patch
-
use the old dtb file in 6.12.16, wifi works. please check the dts patchsets .
-
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";
-
pps-gpio dts file for Zero 2/3 and Zero2w
mantouboji replied to mantouboji's topic in Allwinner sunxi
- 3 replies
-
- Orange Pi Zero 2
- Orange Pi Zero 3
-
(and 1 more)
Tagged with:
-
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
- 3 replies
-
1
-
- Orange Pi Zero 2
- Orange Pi Zero 3
-
(and 1 more)
Tagged with:
-
-
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?
-
boot and stopped on mount something.
-
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
-
I‘ve made a DTS Overlay for SPI 1.1 interface, now it works. Maybe put into kernel tree further.
-
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
-
It seems the CS pin is not configured in the dts overlay . I tried to add them and failed.
-
But maybe I found the mistake: In DT overlay of H616, some developer set spidev devices to compate with "rohm,dh2228fv", maybe he attached a DH2228FV DAC chip? change all of sun50i-h616-spi* dts files to `compatible = "armbian,spi-dev"; `
-
yeah, SPI in Zero3 can't work, but works in Zero2W .
-
edge 6.11.9 kernel added symbolic link for overlay
-
On Zero3, SPI can’t work but on Zero2W, spidev(1,0) can’t work , spidev(1,1) works.
-
two DTS, one for PPS-GPIO, and one for W1-GPIO, test successful . Maybe someone can intergrate into kernel source tree sun50i-h616-pps-gpio.dts sun50i-h616-w1-gpio.dts
-
Try this simple DTS file made by myself. sun50i-h616-pps-gpio.dtbo sun50i-h616-pps-gpio.dts
-
It seems in 6.11.9 has fixed , but made new bug in sunxi64 , dtb path = /boot/dtb/allwinner , not /boot/dtb. so overlay load failed.
-
I build the latest edge image, and in 6.11.6 this bug still exists. Why the developer remove all -fixup.scr ?
-
I got it. There is no un8i-h3-fixup.scr in /boot/dtb . All of other *-fixup.scr files are missing . Please fix it .
-
I don’t build , just only apt full-upgrade .