blob: 910113f3e69ae09d8d05d76fecee700d886c71e0 [file] [log] [blame]
Patrick Delaunay708cae72019-07-30 19:16:12 +02001// 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>
5 */
6
7#include "stm32mp157-pinctrl.dtsi"
8/ {
9 soc {
10 pinctrl: pin-controller@50002000 {
11 st,package = <STM32MP_PKG_AD>;
12
13 gpioa: gpio@50002000 {
14 status = "okay";
15 ngpios = <16>;
16 gpio-ranges = <&pinctrl 0 0 16>;
17 };
18
19 gpiob: gpio@50003000 {
20 status = "okay";
21 ngpios = <16>;
22 gpio-ranges = <&pinctrl 0 16 16>;
23 };
24
25 gpioc: gpio@50004000 {
26 status = "okay";
27 ngpios = <16>;
28 gpio-ranges = <&pinctrl 0 32 16>;
29 };
30
31 gpiod: gpio@50005000 {
32 status = "okay";
33 ngpios = <16>;
34 gpio-ranges = <&pinctrl 0 48 16>;
35 };
36
37 gpioe: gpio@50006000 {
38 status = "okay";
39 ngpios = <16>;
40 gpio-ranges = <&pinctrl 0 64 16>;
41 };
42
43 gpiof: gpio@50007000 {
44 status = "okay";
45 ngpios = <6>;
46 gpio-ranges = <&pinctrl 6 86 6>;
47 };
48
49 gpiog: gpio@50008000 {
50 status = "okay";
51 ngpios = <10>;
52 gpio-ranges = <&pinctrl 6 102 10>;
53 };
54
55 gpioh: gpio@50009000 {
56 status = "okay";
57 ngpios = <2>;
58 gpio-ranges = <&pinctrl 0 112 2>;
59 };
60 };
61 };
62};