1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 3 /dts-v1/; 4 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include "rk3566-anbernic-rg-arc.dtsi" 9 10 / { 11 model = "Anbernic RG ARC-D"; 12 compatible = "anbernic,rg-arc-d", "rockchip,rk3566"; 13 14 aliases { 15 mmc0 = &sdhci; 16 mmc1 = &sdmmc0; 17 mmc2 = &sdmmc1; 18 mmc3 = &sdmmc2; 19 }; 20 }; 21 22 &i2c2 { 23 pinctrl-0 = <&i2c2m1_xfer>; 24 pinctrl-names = "default"; 25 status = "okay"; 26 27 touchscreen@14 { 28 compatible = "goodix,gt927"; 29 reg = <0x14>; 30 interrupt-parent = <&gpio4>; 31 interrupts = <RK_PB1 IRQ_TYPE_EDGE_FALLING>; 32 irq-gpios = <&gpio4 RK_PB1 GPIO_ACTIVE_HIGH>; 33 pinctrl-0 = <&touch_int>; 34 pinctrl-names = "default"; 35 reset-gpios = <&gpio4 RK_PA6 GPIO_ACTIVE_HIGH>; 36 touchscreen-inverted-y; 37 touchscreen-size-x = <640>; 38 touchscreen-size-y = <480>; 39 }; 40 }; 41 42 &pinctrl { 43 touchscreen { 44 touch_int: touch_int { 45 rockchip,pins = <4 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>; 46 }; 47 }; 48 }; 49 50 &sdhci { 51 bus-width = <8>; 52 mmc-hs200-1_8v; 53 non-removable; 54 pinctrl-0 = <&emmc_bus8>, <&emmc_clk>, <&emmc_cmd>, 55 <&emmc_datastrobe>, <&emmc_rstnout>; 56 pinctrl-names = "default"; 57 vmmc-supply = <&vcc_3v3>; 58 vqmmc-supply = <&vcc_1v8>; 59 status = "okay"; 60 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.