Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: sun8i-h2-plus-bananapi-m2-zero: add gpio-line-names

Add gpio-line-names as documented in the Banana Pi wiki [1] and in the
schematics [2].

[1]: http://wiki.banana-pi.org/Banana_Pi_BPI-M2_ZERO#GPIO_PIN_define
[2]: https://drive.google.com/file/d/0B4PAo2nW2KfnMW5sVkxWSW9qa28/view

Signed-off-by: Michael Klein <michael@fossekall.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20201123114535.1605939-1-michael@fossekall.de

authored by

Michael Klein and committed by
Maxime Ripard
036b7334 9340c293

+64
+64
arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
··· 136 136 137 137 }; 138 138 139 + &pio { 140 + gpio-line-names = 141 + /* PA */ 142 + "CON2-P13", "CON2-P11", "CON2-P22", "CON2-P15", 143 + "CON3-P03", "CON3-P02", "CON2-P07", "CON2-P29", 144 + "CON2-P31", "CON2-P33", "CON2-P35", "CON2-P05", 145 + "CON2-P03", "CON2-P08", "CON2-P10", "CON2-P16", 146 + "CON2-P12", "CON2-P37", "CON2-P28", "CON2-P27", 147 + "CON2-P40", "CON2-P38", "", "", 148 + "", "", "", "", "", "", "", "", 149 + 150 + /* PB */ 151 + "", "", "", "", "", "", "", "", 152 + "", "", "", "", "", "", "", "", 153 + "", "", "", "", "", "", "", "", 154 + "", "", "", "", "", "", "", "", 155 + 156 + /* PC */ 157 + "CON2-P19", "CON2-P21", "CON2-P23", "CON2-P24", 158 + "CON2-P18", "", "", "CON2-P26", 159 + "", "", "", "", "", "", "", "", 160 + "", "", "", "", "", "", "", "", 161 + "", "", "", "", "", "", "", "", 162 + 163 + /* PD */ 164 + "", "", "", "", "", "", "", "", 165 + "", "", "", "", "", "", "CSI-PWR-EN", "", 166 + "", "", "", "", "", "", "", "", 167 + "", "", "", "", "", "", "", "", 168 + 169 + /* PE */ 170 + "CN3-P17", "CN3-P13", "CN3-P09", "CN3-P07", 171 + "CN3-P19", "CN3-P21", "CN3-P22", "CN3-P20", 172 + "CN3-P18", "CN3-P16", "CN3-P14", "CN3-P12", 173 + "CN3-P05", "CN3-P03", "CN3-P06", "CN3-P08", 174 + "", "", "", "", "", "", "", "", 175 + "", "", "", "", "", "", "", "", 176 + 177 + /* PF */ 178 + "SDC0-D1", "SDC0-D0", "SDC0-CLK", "SDC0-CMD", "SDC0-D3", 179 + "SDC0-D2", "SDC0-DET", "", 180 + "", "", "", "", "", "", "", "", 181 + "", "", "", "", "", "", "", "", 182 + "", "", "", "", "", "", "", "", 183 + 184 + /* PG */ 185 + "WL-SDIO-CLK", "WL-SDIO-CMD", "WL-SDIO-D0", "WL-SDIO-D1", 186 + "WL-SDIO-D2", "WL-SDIO-D3", "BT-UART-TX", "BT-UART-RX", 187 + "BT-UART-RTS", "BT-UART-CTS", "WL-WAKE-AP", "BT-WAKE-AP", 188 + "BT-RST-N", "AP-WAKE-BT", "", "", 189 + "", "", "", "", "", "", "", "", 190 + "", "", "", "", "", "", "", ""; 191 + }; 192 + 193 + &r_pio { 194 + gpio-line-names = 195 + /* PL */ 196 + "", "CPUX-SET", "CON2-P32", "POWER-KEY", "CON2-P36", 197 + "VCC-IO-EN", "USB0-ID", "WL-PWR-EN", 198 + "PWR-STB", "PWR-DRAM", "PWR-LED", "IR-RX", "", "", "", "", 199 + "", "", "", "", "", "", "", "", 200 + "", "", "", "", "", "", "", ""; 201 + }; 202 + 139 203 &usb_otg { 140 204 dr_mode = "otg"; 141 205 status = "okay";