Author: wmb Date: Thu Aug 16 04:01:07 2012 New Revision: 3179 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3179
Log: OLPC ARM - Added properties to display and DCON device nodes for the benefit of the Linux pxa168fb.c driver.
Modified: cpu/arm/olpc/lcd.fth dev/olpc/dcon/mmp2dcon.fth
Modified: cpu/arm/olpc/lcd.fth ============================================================================== --- cpu/arm/olpc/lcd.fth Thu Aug 16 02:25:33 2012 (r3178) +++ cpu/arm/olpc/lcd.fth Thu Aug 16 04:01:07 2012 (r3179) @@ -5,6 +5,9 @@ " display" name my-address my-space h# 1000 reg
+ " mrvl,pxa168fb" +compatible + + " LCDCLK" " clock-names" string-property " /pmua" encode-phandle 1 encode-int encode+ " clocks" property d# 41 " interrupts" integer-property
Modified: dev/olpc/dcon/mmp2dcon.fth ============================================================================== --- dev/olpc/dcon/mmp2dcon.fth Thu Aug 16 02:25:33 2012 (r3178) +++ dev/olpc/dcon/mmp2dcon.fth Thu Aug 16 04:01:07 2012 (r3179) @@ -10,14 +10,30 @@ previous definitions
new-device -" dcon" device-name -" olpc,xo1-dcon" +compatible -" olpc,xo1.75-dcon" +compatible + " dcon" device-name + " mrvl,dumb-panel" +compatible + " olpc,xo1-dcon" +compatible + " olpc,xo1.75-dcon" +compatible + + " OLPC DCON panel" model + : +i encode-int encode+ ; + + decimal + 0 0 encode-bytes + \ xres, yres, refresh, clockhz, left, right, top, bottom, hsync, vsync, flags, widthmm, heightmm + 1200 +i 900 +i 50 +i 56,930,000 +i 24 +i 26 +i 5 +i 4 +i 6 +i 3 +i 0 +i 152 +i 115 +i + hex + " linux,timing-modes" property + + " 1200x900@50" " linux,mode-names" string-property + + h# 2000000d " lcd-dumb-ctrl-regval" integer-property + h# 08001100 " lcd-pn-ctrl0-regval" integer-property finish-device
stand-init: has-dcon-ram? 0= if - " /dcon? find-device + " /dcon" find-device 0 0 " no-freeze" property device-end then
openfirmware@openfirmware.info