Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Samsung S3C2416 pinctrl settings |
| 3 | * |
| 4 | * Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de> |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License version 2 as |
| 8 | * published by the Free Software Foundation. |
| 9 | */ |
| 10 | |
Krzysztof Kozlowski | 930f291 | 2016-09-04 13:04:19 +0200 | [diff] [blame] | 11 | #include <dt-bindings/pinctrl/samsung.h> |
| 12 | |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 13 | &pinctrl_0 { |
| 14 | /* |
| 15 | * Pin banks |
| 16 | */ |
| 17 | |
| 18 | gpa: gpa { |
| 19 | gpio-controller; |
| 20 | #gpio-cells = <2>; |
| 21 | }; |
| 22 | |
| 23 | gpb: gpb { |
| 24 | gpio-controller; |
| 25 | #gpio-cells = <2>; |
| 26 | }; |
| 27 | |
| 28 | gpc: gpc { |
| 29 | gpio-controller; |
| 30 | #gpio-cells = <2>; |
| 31 | }; |
| 32 | |
| 33 | gpd: gpd { |
| 34 | gpio-controller; |
| 35 | #gpio-cells = <2>; |
| 36 | }; |
| 37 | |
| 38 | gpe: gpe { |
| 39 | gpio-controller; |
| 40 | #gpio-cells = <2>; |
| 41 | }; |
| 42 | |
| 43 | gpf: gpf { |
| 44 | gpio-controller; |
| 45 | #gpio-cells = <2>; |
| 46 | interrupt-controller; |
| 47 | #interrupt-cells = <2>; |
| 48 | }; |
| 49 | |
| 50 | gpg: gpg { |
| 51 | gpio-controller; |
| 52 | #gpio-cells = <2>; |
| 53 | interrupt-controller; |
| 54 | #interrupt-cells = <2>; |
| 55 | }; |
| 56 | |
| 57 | gph: gph { |
| 58 | gpio-controller; |
| 59 | #gpio-cells = <2>; |
| 60 | }; |
| 61 | |
| 62 | gpj: gpj { |
| 63 | gpio-controller; |
| 64 | #gpio-cells = <2>; |
| 65 | }; |
| 66 | |
| 67 | gpk: gpk { |
| 68 | gpio-controller; |
| 69 | #gpio-cells = <2>; |
| 70 | }; |
| 71 | |
| 72 | gpl: gpl { |
| 73 | gpio-controller; |
| 74 | #gpio-cells = <2>; |
| 75 | }; |
| 76 | |
| 77 | gpm: gpm { |
| 78 | gpio-controller; |
| 79 | #gpio-cells = <2>; |
| 80 | }; |
| 81 | |
| 82 | /* |
| 83 | * Pin groups |
| 84 | */ |
| 85 | |
| 86 | uart0_data: uart0-data { |
| 87 | samsung,pins = "gph-0", "gph-1"; |
Krzysztof Kozlowski | 930f291 | 2016-09-04 13:04:19 +0200 | [diff] [blame] | 88 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 89 | }; |
| 90 | |
| 91 | uart0_fctl: uart0-fctl { |
| 92 | samsung,pins = "gph-8", "gph-9"; |
Krzysztof Kozlowski | 930f291 | 2016-09-04 13:04:19 +0200 | [diff] [blame] | 93 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 94 | }; |
| 95 | |
| 96 | uart1_data: uart1-data { |
| 97 | samsung,pins = "gph-2", "gph-3"; |
Krzysztof Kozlowski | 930f291 | 2016-09-04 13:04:19 +0200 | [diff] [blame] | 98 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 99 | }; |
| 100 | |
| 101 | uart1_fctl: uart1-fctl { |
| 102 | samsung,pins = "gph-10", "gph-11"; |
Krzysztof Kozlowski | 930f291 | 2016-09-04 13:04:19 +0200 | [diff] [blame] | 103 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 104 | }; |
| 105 | |
| 106 | uart2_data: uart2-data { |
| 107 | samsung,pins = "gph-4", "gph-5"; |
Krzysztof Kozlowski | 930f291 | 2016-09-04 13:04:19 +0200 | [diff] [blame] | 108 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 109 | }; |
| 110 | |
| 111 | uart2_fctl: uart2-fctl { |
| 112 | samsung,pins = "gph-6", "gph-7"; |
Krzysztof Kozlowski | 930f291 | 2016-09-04 13:04:19 +0200 | [diff] [blame] | 113 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 114 | }; |
| 115 | |
| 116 | uart3_data: uart3-data { |
| 117 | samsung,pins = "gph-6", "gph-7"; |
Krzysztof Kozlowski | 930f291 | 2016-09-04 13:04:19 +0200 | [diff] [blame] | 118 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 119 | }; |
| 120 | |
| 121 | extuart_clk: extuart-clk { |
| 122 | samsung,pins = "gph-12"; |
Krzysztof Kozlowski | 930f291 | 2016-09-04 13:04:19 +0200 | [diff] [blame] | 123 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 124 | }; |
| 125 | |
| 126 | i2c0_bus: i2c0-bus { |
| 127 | samsung,pins = "gpe-14", "gpe-15"; |
Krzysztof Kozlowski | 930f291 | 2016-09-04 13:04:19 +0200 | [diff] [blame] | 128 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 129 | }; |
| 130 | |
| 131 | spi0_bus: spi0-bus { |
| 132 | samsung,pins = "gpe-11", "gpe-12", "gpe-13"; |
Krzysztof Kozlowski | 930f291 | 2016-09-04 13:04:19 +0200 | [diff] [blame] | 133 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 134 | }; |
| 135 | |
| 136 | sd0_clk: sd0-clk { |
| 137 | samsung,pins = "gpe-5"; |
Krzysztof Kozlowski | 930f291 | 2016-09-04 13:04:19 +0200 | [diff] [blame] | 138 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 139 | }; |
| 140 | |
| 141 | sd0_cmd: sd0-cmd { |
| 142 | samsung,pins = "gpe-6"; |
Krzysztof Kozlowski | 930f291 | 2016-09-04 13:04:19 +0200 | [diff] [blame] | 143 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 144 | }; |
| 145 | |
| 146 | sd0_bus1: sd0-bus1 { |
| 147 | samsung,pins = "gpe-7"; |
Krzysztof Kozlowski | 930f291 | 2016-09-04 13:04:19 +0200 | [diff] [blame] | 148 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 149 | }; |
| 150 | |
| 151 | sd0_bus4: sd0-bus4 { |
| 152 | samsung,pins = "gpe-8", "gpe-9", "gpe-10"; |
Krzysztof Kozlowski | 930f291 | 2016-09-04 13:04:19 +0200 | [diff] [blame] | 153 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 154 | }; |
| 155 | |
| 156 | sd1_cmd: sd1-cmd { |
| 157 | samsung,pins = "gpl-8"; |
Krzysztof Kozlowski | 930f291 | 2016-09-04 13:04:19 +0200 | [diff] [blame] | 158 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 159 | }; |
| 160 | |
| 161 | sd1_clk: sd1-clk { |
| 162 | samsung,pins = "gpl-9"; |
Krzysztof Kozlowski | 930f291 | 2016-09-04 13:04:19 +0200 | [diff] [blame] | 163 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 164 | }; |
| 165 | |
| 166 | sd1_bus1: sd1-bus1 { |
| 167 | samsung,pins = "gpl-0"; |
Krzysztof Kozlowski | 930f291 | 2016-09-04 13:04:19 +0200 | [diff] [blame] | 168 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 169 | }; |
| 170 | |
| 171 | sd1_bus4: sd1-bus4 { |
| 172 | samsung,pins = "gpl-1", "gpl-2", "gpl-3"; |
Krzysztof Kozlowski | 930f291 | 2016-09-04 13:04:19 +0200 | [diff] [blame] | 173 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
Heiko Stuebner | 35aca36 | 2013-05-21 01:06:04 +0900 | [diff] [blame] | 174 | }; |
| 175 | }; |