-
Notifications
You must be signed in to change notification settings - Fork 0
/
stratopimax.dts
89 lines (79 loc) · 2.47 KB
/
stratopimax.dts
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
89
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835";
fragment@0 {
target-path = "/";
__overlay__ {
stratopimax: stratopimax {
compatible = "sferalabs,stratopimax";
pinctrl-names = "default";
pinctrl-0 = <&stratopimax_pins>;
status = "okay";
stratopimax_sd_route-gpios = <&gpio 6 0>;
stratopimax_exp1_xx-gpios = <&gpio 7 0>;
stratopimax_exp1_yy-gpios = <&gpio 8 0>;
stratopimax_exp2_xx-gpios = <&gpio 12 0>;
stratopimax_exp2_yy-gpios = <&gpio 13 0>;
stratopimax_exp3_xx-gpios = <&gpio 18 0>;
stratopimax_exp3_yy-gpios = <&gpio 19 0>;
stratopimax_exp4_xx-gpios = <&gpio 16 0>;
stratopimax_exp4_yy-gpios = <&gpio 17 0>;
};
};
};
fragment@1 {
target = <&gpio>;
__overlay__ {
stratopimax_pins: stratopimax_pins {
brcm,pins = <6>;
brcm,function = <0>; /* in */
brcm,pull = <0>; /* no pull */
};
};
};
fragment@2 {
target = <&i2c_arm>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
rp2: rp2@35 {
compatible = "sferalabs,stratopimax-rp2";
reg = <0x35>;
status = "okay";
};
lm75a: lm75a@48 {
compatible = "sferalabs,stratopimax-lm75a";
reg = <0x48>;
status = "okay";
};
atecc608: atecc608@60 {
compatible = "sferalabs,atecc";
reg = <0x60>;
status = "okay";
};
};
};
fragment@3 {
target = <&sdhost>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&sdhost_pins>;
bus-width = <4>;
brcm,overclock-50 = <0>;
brcm,pio-limit = <1>;
status = "okay";
};
};
fragment@4 {
target = <&gpio>;
__overlay__ {
sdhost_pins: sdhost_pins {
brcm,pins = <22 23 24 25 26 27>;
brcm,function = <4 4 4 4 4 4>; /* ALT0: SD0 */
brcm,pull = <0 2 2 2 2 2>; /* pull up all except clk */
};
};
};
};