xref: /freebsd/sys/contrib/device-tree/src/arm/st/stm32mp15xxaa-pinctrl.dtsi (revision 63613e3ba1e188e9fece43e1613bd697f04b345e)
1// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2/*
3 * Copyright (C) STMicroelectronics 2019 - All Rights Reserved
4 * Author: Alexandre Torgue <alexandre.torgue@st.com> for STMicroelectronics.
5 */
6
7&pinctrl {
8	st,package = <STM32MP_PKG_AA>;
9
10	gpioa: gpio@50002000 {
11		status = "okay";
12		ngpios = <16>;
13		gpio-ranges = <&pinctrl 0 0 16>;
14	};
15
16	gpiob: gpio@50003000 {
17		status = "okay";
18		ngpios = <16>;
19		gpio-ranges = <&pinctrl 0 16 16>;
20	};
21
22	gpioc: gpio@50004000 {
23		status = "okay";
24		ngpios = <16>;
25		gpio-ranges = <&pinctrl 0 32 16>;
26	};
27
28	gpiod: gpio@50005000 {
29		status = "okay";
30		ngpios = <16>;
31		gpio-ranges = <&pinctrl 0 48 16>;
32	};
33
34	gpioe: gpio@50006000 {
35		status = "okay";
36		ngpios = <16>;
37		gpio-ranges = <&pinctrl 0 64 16>;
38	};
39
40	gpiof: gpio@50007000 {
41		status = "okay";
42		ngpios = <16>;
43		gpio-ranges = <&pinctrl 0 80 16>;
44	};
45
46	gpiog: gpio@50008000 {
47		status = "okay";
48		ngpios = <16>;
49		gpio-ranges = <&pinctrl 0 96 16>;
50	};
51
52	gpioh: gpio@50009000 {
53		status = "okay";
54		ngpios = <16>;
55		gpio-ranges = <&pinctrl 0 112 16>;
56	};
57
58	gpioi: gpio@5000a000 {
59		status = "okay";
60		ngpios = <16>;
61		gpio-ranges = <&pinctrl 0 128 16>;
62	};
63
64	gpioj: gpio@5000b000 {
65		status = "okay";
66		ngpios = <16>;
67		gpio-ranges = <&pinctrl 0 144 16>;
68	};
69
70	gpiok: gpio@5000c000 {
71		status = "okay";
72		ngpios = <8>;
73		gpio-ranges = <&pinctrl 0 160 8>;
74	};
75};
76
77&pinctrl_z {
78	st,package = <STM32MP_PKG_AA>;
79
80	gpioz: gpio@54004000 {
81		status = "okay";
82		ngpios = <8>;
83		gpio-ranges = <&pinctrl_z 0 400 8>;
84	};
85};
86