1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 /* 2 /* 3 * Device Tree Source for the HiHope RZ/G2M Re !! 3 * Device Tree Source for the HiHope RZ/G2M sub board connected to an 4 * to an Advantech IDK-1110WR 10.1" LVDS panel !! 4 * Advantech IDK-1110WR 10.1" LVDS panel 5 * 5 * 6 * Copyright (C) 2020 Renesas Electronics Corp 6 * Copyright (C) 2020 Renesas Electronics Corp. 7 */ 7 */ 8 8 9 #include "r8a774a1-hihope-rzg2m-ex.dts" 9 #include "r8a774a1-hihope-rzg2m-ex.dts" 10 #include "hihope-rzg2-ex-lvds.dtsi" << 11 #include "rzg2-advantech-idk-1110wr-panel.dtsi 10 #include "rzg2-advantech-idk-1110wr-panel.dtsi" 12 11 >> 12 / { >> 13 backlight { >> 14 compatible = "pwm-backlight"; >> 15 pwms = <&pwm0 0 50000>; >> 16 >> 17 brightness-levels = <0 2 8 16 32 64 128 255>; >> 18 default-brightness-level = <6>; >> 19 }; >> 20 >> 21 }; >> 22 >> 23 &gpio1 { >> 24 /* >> 25 * When GP1_20 is LOW LVDS0 is connected to the LVDS connector >> 26 * When GP1_20 is HIGH LVDS0 is connected to the LT8918L >> 27 */ >> 28 lvds-connector-en-gpio { >> 29 gpio-hog; >> 30 gpios = <20 GPIO_ACTIVE_HIGH>; >> 31 output-low; >> 32 line-name = "lvds-connector-en-gpio"; >> 33 }; >> 34 }; >> 35 13 &lvds0 { 36 &lvds0 { >> 37 status = "okay"; >> 38 }; >> 39 >> 40 &pfc { >> 41 pwm0_pins: pwm0 { >> 42 groups = "pwm0"; >> 43 function = "pwm0"; >> 44 }; >> 45 }; >> 46 >> 47 &pwm0 { >> 48 pinctrl-0 = <&pwm0_pins>; >> 49 pinctrl-names = "default"; >> 50 14 status = "okay"; 51 status = "okay"; 15 }; 52 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.