blob: 961fa12a59c31ce6caee42356293d030a75a0244 [file] [log] [blame]
Patrick Delaunayfe915332019-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_AB>;
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};