Yann Gautier | 7a6ccdf | 2019-02-12 19:00:29 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) |
| 2 | /* |
| 3 | * Copyright (C) STMicroelectronics 2018 - 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 = <STM32MP157CAC>; |
| 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 = <12>; |
| 64 | gpio-ranges = <&pinctrl 0 128 12>; |
| 65 | }; |
| 66 | }; |
| 67 | |
| 68 | pinctrl_z: pin-controller-z@54004000 { |
| 69 | st,package = <STM32MP157CAC>; |
| 70 | |
| 71 | gpioz: gpio@54004000 { |
| 72 | status = "okay"; |
| 73 | ngpios = <8>; |
| 74 | gpio-ranges = <&pinctrl_z 0 400 8>; |
| 75 | }; |
| 76 | }; |
| 77 | }; |
| 78 | }; |