1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 3/dts-v1/; 4 5#include "rk3566-pinetab2.dtsi" 6 7/ { 8 model = "Pine64 PineTab2 v2.0"; 9 compatible = "pine64,pinetab2-v2.0", "pine64,pinetab2", "rockchip,rk3566"; 10}; 11 12&gpio_keys { 13 pinctrl-0 = <&kb_id_det>, <&hall_int_l>; 14 15 event-hall-sensor { 16 debounce-interval = <20>; 17 gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>; 18 label = "Hall Sensor"; 19 linux,code = <SW_LID>; 20 linux,input-type = <EV_SW>; 21 wakeup-event-action = <EV_ACT_DEASSERTED>; 22 wakeup-source; 23 }; 24}; 25 26&lcd { 27 reset-gpios = <&gpio0 RK_PC6 GPIO_ACTIVE_LOW>; 28 pinctrl-names = "default"; 29 pinctrl-0 = <&lcd_pwren_h &lcd0_rst_l>; 30}; 31 32&pinctrl { 33 lcd0 { 34 lcd0_rst_l: lcd0-rst-l { 35 rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; 36 }; 37 }; 38 39 hall { 40 hall_int_l: hall-int-l { 41 rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; 42 }; 43 }; 44}; 45 46&sdmmc1 { 47 vmmc-supply = <&vcc_sys>; 48}; 49