xref: /freebsd-src/sys/contrib/device-tree/src/arm64/st/stm32mp25xxak-pinctrl.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause)
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright (C) STMicroelectronics 2023 - All Rights Reserved
4*f126890aSEmmanuel Vadot * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics.
5*f126890aSEmmanuel Vadot */
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot&pinctrl {
8*f126890aSEmmanuel Vadot	st,package = <STM32MP_PKG_AK>;
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot	gpioa: gpio@44240000 {
11*f126890aSEmmanuel Vadot		status = "okay";
12*f126890aSEmmanuel Vadot		ngpios = <16>;
13*f126890aSEmmanuel Vadot		gpio-ranges = <&pinctrl 0 0 16>;
14*f126890aSEmmanuel Vadot	};
15*f126890aSEmmanuel Vadot
16*f126890aSEmmanuel Vadot	gpiob: gpio@44250000 {
17*f126890aSEmmanuel Vadot		status = "okay";
18*f126890aSEmmanuel Vadot		ngpios = <16>;
19*f126890aSEmmanuel Vadot		gpio-ranges = <&pinctrl 0 16 16>;
20*f126890aSEmmanuel Vadot	};
21*f126890aSEmmanuel Vadot
22*f126890aSEmmanuel Vadot	gpioc: gpio@44260000 {
23*f126890aSEmmanuel Vadot		status = "okay";
24*f126890aSEmmanuel Vadot		ngpios = <14>;
25*f126890aSEmmanuel Vadot		gpio-ranges = <&pinctrl 0 32 14>;
26*f126890aSEmmanuel Vadot	};
27*f126890aSEmmanuel Vadot
28*f126890aSEmmanuel Vadot	gpiod: gpio@44270000 {
29*f126890aSEmmanuel Vadot		status = "okay";
30*f126890aSEmmanuel Vadot		ngpios = <16>;
31*f126890aSEmmanuel Vadot		gpio-ranges = <&pinctrl 0 48 16>;
32*f126890aSEmmanuel Vadot	};
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot	gpioe: gpio@44280000 {
35*f126890aSEmmanuel Vadot		status = "okay";
36*f126890aSEmmanuel Vadot		ngpios = <16>;
37*f126890aSEmmanuel Vadot		gpio-ranges = <&pinctrl 0 64 16>;
38*f126890aSEmmanuel Vadot	};
39*f126890aSEmmanuel Vadot
40*f126890aSEmmanuel Vadot	gpiof: gpio@44290000 {
41*f126890aSEmmanuel Vadot		status = "okay";
42*f126890aSEmmanuel Vadot		ngpios = <16>;
43*f126890aSEmmanuel Vadot		gpio-ranges = <&pinctrl 0 80 16>;
44*f126890aSEmmanuel Vadot	};
45*f126890aSEmmanuel Vadot
46*f126890aSEmmanuel Vadot	gpiog: gpio@442a0000 {
47*f126890aSEmmanuel Vadot		status = "okay";
48*f126890aSEmmanuel Vadot		ngpios = <16>;
49*f126890aSEmmanuel Vadot		gpio-ranges = <&pinctrl 0 96 16>;
50*f126890aSEmmanuel Vadot	};
51*f126890aSEmmanuel Vadot
52*f126890aSEmmanuel Vadot	gpioh: gpio@442b0000 {
53*f126890aSEmmanuel Vadot		status = "okay";
54*f126890aSEmmanuel Vadot		ngpios = <12>;
55*f126890aSEmmanuel Vadot		gpio-ranges = <&pinctrl 2 114 12>;
56*f126890aSEmmanuel Vadot	};
57*f126890aSEmmanuel Vadot
58*f126890aSEmmanuel Vadot	gpioi: gpio@442c0000 {
59*f126890aSEmmanuel Vadot		status = "okay";
60*f126890aSEmmanuel Vadot		ngpios = <12>;
61*f126890aSEmmanuel Vadot		gpio-ranges = <&pinctrl 0 128 12>;
62*f126890aSEmmanuel Vadot	};
63*f126890aSEmmanuel Vadot};
64*f126890aSEmmanuel Vadot
65*f126890aSEmmanuel Vadot&pinctrl_z {
66*f126890aSEmmanuel Vadot	gpioz: gpio@46200000 {
67*f126890aSEmmanuel Vadot		status = "okay";
68*f126890aSEmmanuel Vadot		ngpios = <10>;
69*f126890aSEmmanuel Vadot		gpio-ranges = <&pinctrl_z 0 400 10>;
70*f126890aSEmmanuel Vadot	};
71*f126890aSEmmanuel Vadot};
72