xref: /freebsd/sys/contrib/device-tree/src/arm/st/stm32mp15xxac-pinctrl.dtsi (revision a8089ea5aee578e08acab2438e82fc9a9ae50ed8)
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_AC>;
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 = <12>;
61		gpio-ranges = <&pinctrl 0 128 12>;
62	};
63};
64
65&pinctrl_z {
66	st,package = <STM32MP_PKG_AC>;
67
68	gpioz: gpio@54004000 {
69		status = "okay";
70		ngpios = <8>;
71		gpio-ranges = <&pinctrl_z 0 400 8>;
72	};
73};
74