^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) * SM SM501
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) The SM SM501 is a LCD controller, with proper hardware, it can also
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) drive DVI monitors.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - compatible : should be "smi,sm501".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - reg : contain two entries:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) - First entry: System Configuration register
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - Second entry: IO space (Display Controller register)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - interrupts : SMI interrupt to the cpu should be described here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) - mode : select a video mode:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) <xres>x<yres>[-<bpp>][@<refresh>]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) - edid : verbatim EDID data block describing attached display.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Data from the detailed timing descriptor will be used to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) program the display controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) - little-endian: available on big endian systems, to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) set different foreign endian.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) - big-endian: available on little endian systems, to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) set different foreign endian.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Example for MPC5200:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) display@1,0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) compatible = "smi,sm501";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) reg = <1 0x00000000 0x00800000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 1 0x03e00000 0x00200000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) interrupts = <1 1 3>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) mode = "640x480-32@60";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) edid = [edid-data];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) };