OLED display consist of an OLED panel and a display controller. The displays that were used on yapp4 platform were based on a SSD1305 controller. These displays are now discontinued and we need to add support for a replacement. The new display is based on SSD1309 controller and requires slightly different configuration (mirror + segment offset). We want to support both display types so it does no matter which one was used on the assembly line. Hence the displays are placed at different I2C addresses. Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
55 lines
655 B
Plaintext
55 lines
655 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
//
|
|
// Copyright (C) 2015-2018 Y Soft Corporation, a.s.
|
|
|
|
/dts-v1/;
|
|
|
|
#include "imx6dl.dtsi"
|
|
#include "imx6dl-yapp4-common.dtsi"
|
|
|
|
/ {
|
|
model = "Y Soft IOTA Hydra i.MX6DualLite board";
|
|
compatible = "ysoft,imx6dl-yapp4-hydra", "fsl,imx6dl";
|
|
|
|
memory@10000000 {
|
|
device_type = "memory";
|
|
reg = <0x10000000 0x80000000>;
|
|
};
|
|
};
|
|
|
|
&gpio_oled {
|
|
status = "okay";
|
|
};
|
|
|
|
&hdmi {
|
|
status = "okay";
|
|
};
|
|
|
|
&leds {
|
|
status = "okay";
|
|
};
|
|
|
|
&oled_1305 {
|
|
status = "okay";
|
|
};
|
|
|
|
&oled_1309 {
|
|
status = "okay";
|
|
};
|
|
|
|
&pcie {
|
|
status = "okay";
|
|
};
|
|
|
|
®_pcie {
|
|
status = "okay";
|
|
};
|
|
|
|
&touchkeys {
|
|
status = "okay";
|
|
};
|
|
|
|
&usdhc3 {
|
|
status = "okay";
|
|
};
|