Alexandre Torgue | ff173d1 | 2021-01-07 14:15:12 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) |
| 2 | /* |
| 3 | * Copyright (C) 2023, STMicroelectronics - All Rights Reserved |
| 4 | * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics. |
| 5 | */ |
| 6 | |
| 7 | &pinctrl { |
| 8 | gpioa: gpio@44240000 { |
| 9 | status = "okay"; |
| 10 | ngpios = <16>; |
| 11 | gpio-ranges = <&pinctrl 0 0 16>; |
| 12 | }; |
| 13 | |
| 14 | gpiob: gpio@44250000 { |
| 15 | status = "okay"; |
| 16 | ngpios = <16>; |
| 17 | gpio-ranges = <&pinctrl 0 16 16>; |
| 18 | }; |
| 19 | |
| 20 | gpioc: gpio@44260000 { |
| 21 | status = "okay"; |
| 22 | ngpios = <14>; |
| 23 | gpio-ranges = <&pinctrl 0 32 14>; |
| 24 | }; |
| 25 | |
| 26 | gpiod: gpio@44270000 { |
| 27 | status = "okay"; |
| 28 | ngpios = <16>; |
| 29 | gpio-ranges = <&pinctrl 0 48 16>; |
| 30 | }; |
| 31 | |
| 32 | gpioe: gpio@44280000 { |
| 33 | status = "okay"; |
| 34 | ngpios = <16>; |
| 35 | gpio-ranges = <&pinctrl 0 64 16>; |
| 36 | }; |
| 37 | |
| 38 | gpiof: gpio@44290000 { |
| 39 | status = "okay"; |
| 40 | ngpios = <16>; |
| 41 | gpio-ranges = <&pinctrl 0 80 16>; |
| 42 | }; |
| 43 | |
| 44 | gpiog: gpio@442a0000 { |
| 45 | status = "okay"; |
| 46 | ngpios = <16>; |
| 47 | gpio-ranges = <&pinctrl 0 96 16>; |
| 48 | }; |
| 49 | |
| 50 | gpioh: gpio@442b0000 { |
| 51 | status = "okay"; |
| 52 | ngpios = <12>; |
| 53 | gpio-ranges = <&pinctrl 2 114 12>; |
| 54 | }; |
| 55 | |
| 56 | gpioi: gpio@442c0000 { |
| 57 | status = "okay"; |
| 58 | ngpios = <16>; |
| 59 | gpio-ranges = <&pinctrl 0 128 16>; |
| 60 | }; |
| 61 | |
| 62 | gpioj: gpio@442d0000 { |
| 63 | status = "okay"; |
| 64 | ngpios = <16>; |
| 65 | gpio-ranges = <&pinctrl 0 144 16>; |
| 66 | }; |
| 67 | |
| 68 | gpiok: gpio@442e0000 { |
| 69 | status = "okay"; |
| 70 | ngpios = <8>; |
| 71 | gpio-ranges = <&pinctrl 0 160 8>; |
| 72 | }; |
| 73 | }; |
| 74 | |
| 75 | &pinctrl_z { |
| 76 | gpioz: gpio@46200000 { |
| 77 | status = "okay"; |
| 78 | ngpios = <10>; |
| 79 | gpio-ranges = <&pinctrl_z 0 400 10>; |
| 80 | }; |
| 81 | }; |