1b0990638SLad Prabhakar// SPDX-License-Identifier: GPL-2.0 2b0990638SLad Prabhakar/* 3b0990638SLad Prabhakar * Device Tree Source for the RZ/G2[MN] HiHope sub board LVDS common parts 4b0990638SLad Prabhakar * 5b0990638SLad Prabhakar * Copyright (C) 2020 Renesas Electronics Corp. 6b0990638SLad Prabhakar */ 7b0990638SLad Prabhakar 8b0990638SLad Prabhakar/ { 9b0990638SLad Prabhakar backlight { 10b0990638SLad Prabhakar compatible = "pwm-backlight"; 11b0990638SLad Prabhakar pwms = <&pwm0 0 50000>; 12b0990638SLad Prabhakar 13b0990638SLad Prabhakar brightness-levels = <0 2 8 16 32 64 128 255>; 14b0990638SLad Prabhakar default-brightness-level = <6>; 15b0990638SLad Prabhakar }; 16b0990638SLad Prabhakar}; 17b0990638SLad Prabhakar 18b0990638SLad Prabhakar&gpio1 { 19b0990638SLad Prabhakar /* 20b0990638SLad Prabhakar * When GP1_20 is LOW LVDS0 is connected to the LVDS connector 21b0990638SLad Prabhakar * When GP1_20 is HIGH LVDS0 is connected to the LT8918L 22b0990638SLad Prabhakar */ 23*48d8ee5bSGeert Uytterhoeven lvds-connector-en-hog { 24b0990638SLad Prabhakar gpio-hog; 25b0990638SLad Prabhakar gpios = <20 GPIO_ACTIVE_HIGH>; 26b0990638SLad Prabhakar output-low; 27b0990638SLad Prabhakar line-name = "lvds-connector-en-gpio"; 28b0990638SLad Prabhakar }; 29b0990638SLad Prabhakar}; 30b0990638SLad Prabhakar 31b0990638SLad Prabhakar&lvds0 { 32b0990638SLad Prabhakar ports { 33b0990638SLad Prabhakar port@1 { 34b0990638SLad Prabhakar lvds_connector: endpoint { 35b0990638SLad Prabhakar }; 36b0990638SLad Prabhakar }; 37b0990638SLad Prabhakar }; 38b0990638SLad Prabhakar}; 39b0990638SLad Prabhakar 40b0990638SLad Prabhakar&pfc { 41b0990638SLad Prabhakar pwm0_pins: pwm0 { 42b0990638SLad Prabhakar groups = "pwm0"; 43b0990638SLad Prabhakar function = "pwm0"; 44b0990638SLad Prabhakar }; 45b0990638SLad Prabhakar}; 46b0990638SLad Prabhakar 47b0990638SLad Prabhakar&pwm0 { 48b0990638SLad Prabhakar pinctrl-0 = <&pwm0_pins>; 49b0990638SLad Prabhakar pinctrl-names = "default"; 50b0990638SLad Prabhakar 51b0990638SLad Prabhakar status = "okay"; 52b0990638SLad Prabhakar}; 53