1// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2/* 3 * Copyright (C) 2023 MediaTek Inc. 4 * Author: Frank Wunderlich <[email protected]> 5 */ 6 7/dts-v1/; 8/plugin/; 9 10#include <dt-bindings/gpio/gpio.h> 11 12/ { 13 compatible = "bananapi,bpi-r4", "mediatek,mt7988a"; 14}; 15 16&{/soc/mmc@11230000} { 17 pinctrl-names = "default", "state_uhs"; 18 pinctrl-0 = <&mmc0_pins_sdcard>; 19 pinctrl-1 = <&mmc0_pins_sdcard>; 20 cd-gpios = <&pio 12 GPIO_ACTIVE_LOW>; 21 bus-width = <4>; 22 max-frequency = <52000000>; 23 cap-sd-highspeed; 24 vmmc-supply = <®_3p3v>; 25 vqmmc-supply = <®_3p3v>; 26 no-mmc; 27 #address-cells = <1>; 28 #size-cells = <0>; 29 status = "okay"; 30}; 31 32