1 // SPDX-License-Identifier: GPL-2.0+ OR X11
4 * Lukasz Majewski, DENX Software Engineering, lukma@denx.de.
6 * Copyright 2016 Toradex AG
10 #include "vf610-pcm052.dtsi"
11 #include "vf610-pinfunc.h"
14 model = "Liebherr (LVF) BK4 Vybrid Board";
15 compatible = "lvf,bk4", "fsl,vf610";
18 pinctrl-names = "default";
19 pinctrl-0 = <&pinctrl_gpio_leds>;
21 compatible = "gpio-leds";
23 /* PTE15 PORT3[24] H6 green */
26 gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
27 default-state = "off";
30 /* PTA12 PORT0[5] H5 green */
33 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
34 default-state = "off";
37 /* PTE20 PORT3[39] H4 green */
40 gpios = <&gpio3 29 GPIO_ACTIVE_LOW>;
41 default-state = "off";
44 /* PTE12 PORT3[21] H3 green */
47 gpios = <&gpio3 21 GPIO_ACTIVE_LOW>;
48 default-state = "off";
51 /* LED6 is now PRESET ETH -> PTA16 PORT0[6] H6 red */
52 /* PTE9 PORT3[18] H5 red */
55 gpios = <&gpio3 18 GPIO_ACTIVE_LOW>;
56 default-state = "off";
59 /* PTE23 PORT4[0] H4 red */
62 gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
63 default-state = "off";
66 /* PTE16 PORT3[25] H3 red */
69 gpios = <&gpio3 25 GPIO_ACTIVE_LOW>;
70 default-state = "off";
76 pinctrl-0 = <&pinctrl_ddr &pinctrl_hog>;
80 /* ETH control pins */
81 VF610_PAD_PTE17__GPIO_122 0x1183
82 VF610_PAD_PTA16__GPIO_6 0x1183
86 pinctrl_gpio_leds: gpioledsgrp {
89 VF610_PAD_PTE15__GPIO_120 0x1183
90 VF610_PAD_PTA12__GPIO_5 0x1183
91 VF610_PAD_PTE9__GPIO_114 0x1183
92 VF610_PAD_PTE20__GPIO_125 0x1183
93 VF610_PAD_PTE23__GPIO_128 0x1183
94 VF610_PAD_PTE16__GPIO_121 0x1183