blob: 875adf5e1e3038c2ab035255271e586dec087e65 [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_AA>;
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 = <16>;
46 gpio-ranges = <&pinctrl 0 80 16>;
47 };
48
49 gpiog: gpio@50008000 {
50 status = "okay";
51 ngpios = <16>;
52 gpio-ranges = <&pinctrl 0 96 16>;
53 };
54
55 gpioh: gpio@50009000 {
56 status = "okay";
57 ngpios = <16>;
58 gpio-ranges = <&pinctrl 0 112 16>;
59 };
60
61 gpioi: gpio@5000a000 {
62 status = "okay";
63 ngpios = <16>;
64 gpio-ranges = <&pinctrl 0 128 16>;
65 };
66
67 gpioj: gpio@5000b000 {
68 status = "okay";
69 ngpios = <16>;
70 gpio-ranges = <&pinctrl 0 144 16>;
71 };
72
73 gpiok: gpio@5000c000 {
74 status = "okay";
75 ngpios = <8>;
76 gpio-ranges = <&pinctrl 0 160 8>;
77 };
78 };
79
80 pinctrl_z: pin-controller-z@54004000 {
81 st,package = <STM32MP_PKG_AA>;
82
83 gpioz: gpio@54004000 {
84 status = "okay";
85 ngpios = <8>;
86 gpio-ranges = <&pinctrl_z 0 400 8>;
87 };
88 };
89 };
90};