| // SPDX-License-Identifier: (GPL-2.0 OR MIT) |
| /* |
| * Copyright (C) 2018 Synaptics Incorporated |
| * |
| * Author: Jisheng Zhang <jszhang@kernel.org> |
| */ |
| |
| /dts-v1/; |
| |
| /memreserve/ 0x1ff00000 0x00100000; |
| |
| #include <dt-bindings/gpio/gpio.h> |
| #include <dt-bindings/input/input.h> |
| |
| #include "as370-evk.dtsi" |
| |
| |
| / { |
| model = "Synaptics AS370 EVK"; |
| compatible = "syna,as370-evk", "syna,as370"; |
| |
| ion { |
| compatible = "syna,ion-berlin-heaps"; |
| pool-num = <1>; |
| reg-names = "NonSecure"; |
| reg = <0 0x1ff00000 0 0x100000>; |
| attributes-num-per-pool = <2>; |
| pool-attributes = <0x00000102 0x00000F36>; |
| }; |
| |
| regulators { |
| compatible = "simple-bus"; |
| #address-cells = <1>; |
| #size-cells = <0>; |
| |
| vmmc_sdio0: vmmc_sdio0 { |
| compatible = "regulator-fixed"; |
| regulator-min-microvolt = <3300000>; |
| regulator-max-microvolt = <3300000>; |
| regulator-name = "vmmc_sdio0"; |
| enable-active-high; |
| regulator-boot-on; |
| gpio = <&portb 7 GPIO_ACTIVE_HIGH>; |
| }; |
| }; |
| }; |
| |
| &pinctrl { |
| sd0_pmux: sd0-pmux { |
| groups = "SD0_CLK", "SD0_DAT0", "SD0_DAT1", "SD0_DAT2", "SD0_DAT3", "SD0_CMD"; |
| function = "sd0"; |
| }; |
| |
| sd0_gpio_pmux: sd0_gpio-pmux { |
| groups = "TDO"; |
| function = "gpio"; |
| }; |
| }; |
| |
| &sdhci0 { |
| status = "okay"; |
| broken-cd; |
| non-removable; |
| vmmc-supply = <&vmmc_sdio0>; |
| pinctrl-0 = <&sd0_pmux>, <&sd0_gpio_pmux>; |
| pinctrl-names = "default"; |
| }; |