1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2019 Heiko Schocher <hs@denx.de>
13 compatible = "wdt-reboot";
35 pwms = <&pwm1 0 300000>;
36 default-brightness-level = <2>;
40 * allow switching write protect pin by gpio,
41 * because "pinctrl-assert-gpios" from &ecspi1 isn't handled by u-boot
49 gpios = <15 GPIO_ACTIVE_HIGH>;
54 pinctrl-0 = <&pinctrl_gpio &pinctrl_gpio_fix>;
57 pinctrl_gpio_fix: gpiofixgrp {
59 * usdhc2 has a levelshifter on the carrier board Rev. DV1,
60 * that will automatically detect the driving direction.
61 * During initialisation this isn't working correctly,
62 * which causes DAT3 to be driven low towards the SD-card.
63 * This causes a SD-card enetring the SPI-Mode
64 * and therefore getting inaccessible until next power cycle.
65 * As workaround we drive the DAT3 line as GPIO and set it high.
66 * This makes usdhc2 unusable in u-boot, but works for the
67 * initialisation in Linux
70 MX6QDL_PAD_SD2_DAT3__GPIO1_IO12 0x20000
79 gpios = <12 GPIO_ACTIVE_HIGH>;