xref: /freebsd-src/sys/contrib/device-tree/src/arm/st/stm32mp15xxaa-pinctrl.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright (C) STMicroelectronics 2019 - All Rights Reserved
4*f126890aSEmmanuel Vadot * Author: Alexandre Torgue <alexandre.torgue@st.com> for STMicroelectronics.
5*f126890aSEmmanuel Vadot */
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot&pinctrl {
8*f126890aSEmmanuel Vadot	st,package = <STM32MP_PKG_AA>;
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot	gpioa: gpio@50002000 {
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@50003000 {
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@50004000 {
23*f126890aSEmmanuel Vadot		status = "okay";
24*f126890aSEmmanuel Vadot		ngpios = <16>;
25*f126890aSEmmanuel Vadot		gpio-ranges = <&pinctrl 0 32 16>;
26*f126890aSEmmanuel Vadot	};
27*f126890aSEmmanuel Vadot
28*f126890aSEmmanuel Vadot	gpiod: gpio@50005000 {
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@50006000 {
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@50007000 {
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@50008000 {
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@50009000 {
53*f126890aSEmmanuel Vadot		status = "okay";
54*f126890aSEmmanuel Vadot		ngpios = <16>;
55*f126890aSEmmanuel Vadot		gpio-ranges = <&pinctrl 0 112 16>;
56*f126890aSEmmanuel Vadot	};
57*f126890aSEmmanuel Vadot
58*f126890aSEmmanuel Vadot	gpioi: gpio@5000a000 {
59*f126890aSEmmanuel Vadot		status = "okay";
60*f126890aSEmmanuel Vadot		ngpios = <16>;
61*f126890aSEmmanuel Vadot		gpio-ranges = <&pinctrl 0 128 16>;
62*f126890aSEmmanuel Vadot	};
63*f126890aSEmmanuel Vadot
64*f126890aSEmmanuel Vadot	gpioj: gpio@5000b000 {
65*f126890aSEmmanuel Vadot		status = "okay";
66*f126890aSEmmanuel Vadot		ngpios = <16>;
67*f126890aSEmmanuel Vadot		gpio-ranges = <&pinctrl 0 144 16>;
68*f126890aSEmmanuel Vadot	};
69*f126890aSEmmanuel Vadot
70*f126890aSEmmanuel Vadot	gpiok: gpio@5000c000 {
71*f126890aSEmmanuel Vadot		status = "okay";
72*f126890aSEmmanuel Vadot		ngpios = <8>;
73*f126890aSEmmanuel Vadot		gpio-ranges = <&pinctrl 0 160 8>;
74*f126890aSEmmanuel Vadot	};
75*f126890aSEmmanuel Vadot};
76*f126890aSEmmanuel Vadot
77*f126890aSEmmanuel Vadot&pinctrl_z {
78*f126890aSEmmanuel Vadot	st,package = <STM32MP_PKG_AA>;
79*f126890aSEmmanuel Vadot
80*f126890aSEmmanuel Vadot	gpioz: gpio@54004000 {
81*f126890aSEmmanuel Vadot		status = "okay";
82*f126890aSEmmanuel Vadot		ngpios = <8>;
83*f126890aSEmmanuel Vadot		gpio-ranges = <&pinctrl_z 0 400 8>;
84*f126890aSEmmanuel Vadot	};
85*f126890aSEmmanuel Vadot};
86