-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathradxa_zero3.yml
executable file
·88 lines (84 loc) · 2.2 KB
/
radxa_zero3.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#
# Tested on Radxa Zero 3W, running Armbian, Kernel 6.1.75-vendor-rk35xx
#
# Note: Overlays are not packaged with Armbian for some reason. Hopefully this changes soon,
# but I've built the .dtbo files for the kernel given above, and made them available here:
# https://github.com/vickash/linux-sbc-overlays/tree/master/radxa/rockchip
# To use them, save all the .dtbo files into:
# /boot/dtb/rockchip/overlay
#
---
pins:
# Left side (odd numbered)
# PIN 1 is 3V3
32: { phy: 3, chip: 1, line: 0 }
33: { phy: 5, chip: 1, line: 1 }
116: { phy: 7, chip: 3, line: 20 }
# PIN 9 is GND
97: { phy: 11, chip: 3, line: 1 }
98: { phy: 13, chip: 3, line: 2 }
104: { phy: 15, chip: 3, line: 8 }
# PIN 17 is 3V3
147: { phy: 19, chip: 4, line: 19 }
149: { phy: 21, chip: 4, line: 21 }
146: { phy: 23, chip: 4, line: 18 }
# PIN 25 is GND
138: { phy: 27, chip: 4, line: 10 }
107: { phy: 29, chip: 3, line: 11 }
108: { phy: 31, chip: 3, line: 12 }
115: { phy: 33, chip: 3, line: 19 }
100: { phy: 35, chip: 3, line: 4 }
36: { phy: 37, chip: 1, line: 4 }
# PIN 39 is GND
# Right side (even numbered)
# PIN 2 is 5V
# PIN 4 is 5V
# PIN 6 is GND
24: { phy: 8, chip: 0, line: 24 }
25: { phy: 10, chip: 0, line: 25 }
99: { phy: 12, chip: 3, line: 3 }
# PIN 14 is GND
105: { phy: 16, chip: 3, line: 9 }
106: { phy: 18, chip: 3, line: 10 }
# PIN 20 is GND
113: { phy: 22, chip: 3, line: 17 }
150: { phy: 24, chip: 4, line: 22 }
# PIN 26 is NC
139: { phy: 28, chip: 4, line: 11 }
# PIN 30 is GND
114: { phy: 32, chip: 3, line: 18 }
# PIN 34 is GND
103: { phy: 36, chip: 3, line: 7 }
102: { phy: 38, chip: 3, line: 6 }
101: { phy: 40, chip: 3, line: 5 }
pwms:
#
# Add to overlays= line in /boot/amrbianEnv.txt
# pwm8-m0 pwm9-m0
105:
pwmchip: 0
channel: 0
overlay: pwm8-m0
106:
pwmchip: 1
channel: 0
overlay: pwm9-m0
i2cs:
#
# Add to overlays= line in /boot/amrbianEnv.txt
# i2c3-m0
3:
scl: 33
sda: 32
reserved_addresses: [0x22]
overlay: i2c3-m0
spis:
#
# Add to overlays= line in /boot/amrbianEnv.txt
# ispi3-m1-cs0-spidev
3:
clk: 146
mosi: 147
miso: 149
cs0: 150
overlay: spi3-m1-cs0-spidev