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