Debian Codegraph @

scripts/dtc/include-prefixes/arm64/apple/t602x-gpio-pins.dtsi

raw
1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
2 /*
3 * GPIO pin mappings for Apple T602x SoCs.
4 *
5 * Copyright The Asahi Linux Contributors
6 */
7
8 &pinctrl_ap {
9 i2c0_pins: i2c0-pins {
10 pinmux = <APPLE_PINMUX(63, 1)>,
11 <APPLE_PINMUX(64, 1)>;
12 };
13
14 i2c1_pins: i2c1-pins {
15 pinmux = <APPLE_PINMUX(65, 1)>,
16 <APPLE_PINMUX(66, 1)>;
17 };
18
19 i2c2_pins: i2c2-pins {
20 pinmux = <APPLE_PINMUX(67, 1)>,
21 <APPLE_PINMUX(68, 1)>;
22 };
23
24 i2c3_pins: i2c3-pins {
25 pinmux = <APPLE_PINMUX(69, 1)>,
26 <APPLE_PINMUX(70, 1)>;
27 };
28
29 i2c4_pins: i2c4-pins {
30 pinmux = <APPLE_PINMUX(71, 1)>,
31 <APPLE_PINMUX(72, 1)>;
32 };
33
34 i2c5_pins: i2c5-pins {
35 pinmux = <APPLE_PINMUX(73, 1)>,
36 <APPLE_PINMUX(74, 1)>;
37 };
38
39 i2c6_pins: i2c6-pins {
40 pinmux = <APPLE_PINMUX(75, 1)>,
41 <APPLE_PINMUX(76, 1)>;
42 };
43
44 i2c7_pins: i2c7-pins {
45 pinmux = <APPLE_PINMUX(77, 1)>,
46 <APPLE_PINMUX(78, 1)>;
47 };
48
49 i2c8_pins: i2c8-pins {
50 pinmux = <APPLE_PINMUX(79, 1)>,
51 <APPLE_PINMUX(80, 1)>;
52 };
53
54 spi1_pins: spi1-pins {
55 pinmux = <APPLE_PINMUX(155, 1)>, /* SDI */
56 <APPLE_PINMUX(156, 1)>, /* SDO */
57 <APPLE_PINMUX(157, 1)>, /* SCK */
58 <APPLE_PINMUX(158, 1)>; /* CS */
59 };
60
61 spi2_pins: spi2-pins {
62 pinmux = <APPLE_PINMUX(159, 1)>, /* SDI */
63 <APPLE_PINMUX(160, 1)>, /* SDO */
64 <APPLE_PINMUX(161, 1)>, /* SCK */
65 <APPLE_PINMUX(162, 1)>; /* CS */
66 };
67
68 spi4_pins: spi4-pins {
69 pinmux = <APPLE_PINMUX(167, 1)>, /* SDI */
70 <APPLE_PINMUX(168, 1)>, /* SDO */
71 <APPLE_PINMUX(169, 1)>, /* SCK */
72 <APPLE_PINMUX(170, 1)>; /* CS */
73 };
74
75 pcie_pins: pcie-pins {
76 pinmux = <APPLE_PINMUX(0, 1)>,
77 <APPLE_PINMUX(1, 1)>,
78 <APPLE_PINMUX(2, 1)>,
79 <APPLE_PINMUX(3, 1)>;
80 };
81 };