diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-02-21 08:39:48 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2019-04-19 07:28:33 +0200 |
commit | 2fcd8a582c6e297f10d99c91436a963fd579ea9a (patch) | |
tree | a9cdafd0f8e70c0c062703f9d34c5f7dba7cbdce | |
parent | 9d98b6d0737884065080074c09ac99c9f5f25dba (diff) | |
download | openfirmware-2fcd8a582c6e297f10d99c91436a963fd579ea9a.tar.gz |
olpc: make /dcon compatible with himax,hx8837
-rw-r--r-- | dev/olpc/dcon/mmp2dcon.fth | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev/olpc/dcon/mmp2dcon.fth b/dev/olpc/dcon/mmp2dcon.fth index 65414a40..7e580777 100644 --- a/dev/olpc/dcon/mmp2dcon.fth +++ b/dev/olpc/dcon/mmp2dcon.fth @@ -11,6 +11,7 @@ " dcon" device-name " olpc,xo1-dcon" +compatible " olpc,xo1.75-dcon" +compatible +" himax,hx8837" +compatible my-space " reg" integer-property 0 0 encode-bytes @@ -26,6 +27,21 @@ dcon-irq-gpio# 0 encode-gpio " irq" encode-string encode+ " gpio-names" property +0 0 encode-bytes +dcon-stat0-gpio# 0 encode-gpio +dcon-stat1-gpio# 0 encode-gpio +" stat-gpios" property + +0 0 encode-bytes +dcon-load-gpio# 0 encode-gpio +" load-gpios" property + +" /gpio" encode-phandle " interrupt-parent" property + +dcon-irq-gpio# encode-int +2 encode-int encode+ \ IRQ_TYPE_EDGE_FALLING +" interrupts" property + new-device " ports" device-name 1 " #address-cells" integer-property |