// SPDX-License-Identifier: (GPL-2.0-only OR MIT)
/*
 * Copyright 2017 Lothar Waßmann <LW@KARO-electronics.de>
 */

/ {
	backlight0 {
		pwms = <&pwm1 0 500000 PWM_POLARITY_INVERTED>;
		power-supply = <&reg_lcd1_pwr>;
	};

	backlight1 {
		pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>;
		power-supply = <&reg_lcd1_pwr>;
	};

	lcd-panel {
		compatible = "edt,et057090dhu";
		power-supply = <&reg_lcd1_pwr>;
		pixelclk-active = <0>;
	};

	lvds0-panel {
		compatible = "edt,etml1010g0dka";
		power-supply = <&reg_lcd1_pwr>;
		pixelclk-active = <0>;
	};

	lvds1-panel {
		compatible = "edt,etml1010g0dka";
		power-supply = <&reg_lcd1_pwr>;
		pixelclk-active = <0>;
	};
};

&can1 {
	status = "disabled";
};

&can2 {
	xceiver-supply = <&reg_3v3>;
};

&ds1339 {
	/*
	 * The backup voltage of the module internal RTC is not wired
	 * by default on the MB7, so disable that RTC chip.
	 */
	status = "disabled";
};

&i2c3 {
	rtc: rtc@6f {
		compatible = "microchip,mcp7940x";
		reg = <0x6f>;
	};
};

&reg_lcd0_pwr {
	status = "disabled";
};
