Author: wmb Date: Thu Jul 12 22:21:13 2012 New Revision: 3054 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3054
Log: OLPC ARM - Moved GPIO pin definitions out of */config.fth into separate */gpiopins.fth files.
Added: cpu/arm/olpc/1.75/gpiopins.fth cpu/arm/olpc/3.0/gpiopins.fth Modified: cpu/arm/olpc/1.75/config.fth cpu/arm/olpc/3.0/config.fth
Modified: cpu/arm/olpc/1.75/config.fth ============================================================================== --- cpu/arm/olpc/1.75/config.fth Thu Jul 12 18:48:31 2012 (r3053) +++ cpu/arm/olpc/1.75/config.fth Thu Jul 12 22:21:13 2012 (r3054) @@ -31,62 +31,4 @@
h# 10000 constant l2-#sets
-d# 108 constant cam-scl-gpio# -d# 109 constant cam-sda-gpio# - -d# 102 constant cam-rst-gpio# -d# 150 constant cam-pwr-gpio# - -d# 46 constant spi-flash-cs-gpio# - -d# 155 constant ec-spi-cmd-gpio# -d# 125 constant ec-spi-ack-gpio# - -d# 161 constant dcon-scl-gpio# -d# 110 constant dcon-sda-gpio# - -d# 124 constant dcon-irq-gpio# -d# 142 constant dcon-load-gpio# - -d# 34 constant en-wlan-pwr-gpio# -d# 57 constant wlan-pd-gpio# -d# 58 constant wlan-reset-gpio# - -d# 146 constant usb-hub-reset-gpio# - -d# 149 constant emmc-rst-gpio# - -d# 73 constant sec-trg-gpio# - -d# 53 constant rtc-scl-gpio# -d# 54 constant rtc-sda-gpio# - -d# 104 constant ec-edi-cs-gpio# -d# 105 constant ec-edi-mosi-gpio# -d# 106 constant ec-edi-clk-gpio# - -\ d# 56 constant boot-dev-sel-gpio# \ revision-dependent, determined at run time - -d# 129 constant lid-switch-gpio# -d# 128 constant ebook-mode-gpio# - -d# 143 constant mic-ac/dc-gpio# -d# 8 constant audio-reset-gpio# -d# 97 constant hp-plug-gpio# - -d# 10 constant led-storage-gpio# -d# 11 constant vid2-gpio# - -d# 160 constant soc-tpd-clk-gpio# -d# 107 constant soc-tpd-dat-gpio# - -d# 71 constant soc-kbd-clk-gpio# -d# 72 constant soc-kbd-dat-gpio# -d# 148 constant soc-en-kbd-pwr-gpio# - -d# 144 constant cam-pwrdn-gpio# - -d# 4 constant compass-scl-gpio# -d# 5 constant compass-sda-gpio# - -d# 15 constant rotate-gpio# +fload ${BP}/cpu/arm/olpc/1.75/gpiopins.fth
Added: cpu/arm/olpc/1.75/gpiopins.fth ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ cpu/arm/olpc/1.75/gpiopins.fth Thu Jul 12 22:21:13 2012 (r3054) @@ -0,0 +1,62 @@ +\ GPIO pin assignments - XO-1.75 + +d# 108 constant cam-scl-gpio# +d# 109 constant cam-sda-gpio# + +d# 102 constant cam-rst-gpio# +d# 150 constant cam-pwr-gpio# + +d# 46 constant spi-flash-cs-gpio# + +d# 155 constant ec-spi-cmd-gpio# +d# 125 constant ec-spi-ack-gpio# + +d# 161 constant dcon-scl-gpio# +d# 110 constant dcon-sda-gpio# + +d# 124 constant dcon-irq-gpio# +d# 142 constant dcon-load-gpio# + +d# 34 constant en-wlan-pwr-gpio# +d# 57 constant wlan-pd-gpio# +d# 58 constant wlan-reset-gpio# + +d# 146 constant usb-hub-reset-gpio# + +d# 149 constant emmc-rst-gpio# + +d# 73 constant sec-trg-gpio# + +d# 53 constant rtc-scl-gpio# +d# 54 constant rtc-sda-gpio# + +d# 104 constant ec-edi-cs-gpio# +d# 105 constant ec-edi-mosi-gpio# +d# 106 constant ec-edi-clk-gpio# + +\ d# 56 constant boot-dev-sel-gpio# \ revision-dependent, determined at run time + +d# 129 constant lid-switch-gpio# +d# 128 constant ebook-mode-gpio# + +d# 143 constant mic-ac/dc-gpio# +d# 8 constant audio-reset-gpio# +d# 97 constant hp-plug-gpio# + +d# 10 constant led-storage-gpio# +d# 11 constant vid2-gpio# + +d# 160 constant soc-tpd-clk-gpio# +d# 107 constant soc-tpd-dat-gpio# + +d# 71 constant soc-kbd-clk-gpio# +d# 72 constant soc-kbd-dat-gpio# +d# 148 constant soc-en-kbd-pwr-gpio# + +d# 144 constant cam-pwrdn-gpio# + +d# 4 constant compass-scl-gpio# +d# 5 constant compass-sda-gpio# + +d# 15 constant rotate-gpio# +d# 17 constant check-gpio#
Modified: cpu/arm/olpc/3.0/config.fth ============================================================================== --- cpu/arm/olpc/3.0/config.fth Thu Jul 12 18:48:31 2012 (r3053) +++ cpu/arm/olpc/3.0/config.fth Thu Jul 12 22:21:13 2012 (r3054) @@ -30,40 +30,4 @@
h# 10000 constant l2-#sets
-d# 56 constant boot-dev-sel-gpio# - -d# 4 constant cam-scl-gpio# -d# 5 constant cam-sda-gpio# - -d# 10 constant cam-rst-gpio# -d# 150 constant cam-pwr-gpio# -d# 9 constant cam-pwrdn-gpio# - -d# 46 constant spi-flash-cs-gpio# - -d# 155 constant ec-spi-cmd-gpio# -d# 125 constant ec-spi-ack-gpio# - -\ CL3 has no DCON - -d# 34 constant en-wlan-pwr-gpio# -d# 57 constant wlan-pd-gpio# -d# 58 constant wlan-reset-gpio# - -d# 146 constant usb-hub-reset-gpio# - -d# 149 constant emmc-rst-gpio# - -d# 142 constant sec-trg-gpio# - -d# 53 constant rtc-scl-gpio# -d# 54 constant rtc-sda-gpio# - -d# 104 constant ec-edi-cs-gpio# -d# 105 constant ec-edi-mosi-gpio# -d# 106 constant ec-edi-clk-gpio# - -d# 143 constant mic-ac/dc-gpio# -d# 8 constant audio-reset-gpio# -d# 97 constant hp-plug-gpio# -d# 11 constant vid2-gpio# +fload ${BP}/cpu/arm/olpc/3.0/gpiopins.fth
Added: cpu/arm/olpc/3.0/gpiopins.fth ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ cpu/arm/olpc/3.0/gpiopins.fth Thu Jul 12 22:21:13 2012 (r3054) @@ -0,0 +1,39 @@ +\ GPIO pin assigments - XO-3.0 + +d# 4 constant cam-scl-gpio# +d# 5 constant cam-sda-gpio# + +d# 10 constant cam-rst-gpio# +d# 150 constant cam-pwr-gpio# +d# 9 constant cam-pwrdn-gpio# + +d# 46 constant spi-flash-cs-gpio# + +d# 155 constant ec-spi-cmd-gpio# +d# 125 constant ec-spi-ack-gpio# + +\ CL3 has no DCON + +d# 34 constant en-wlan-pwr-gpio# +d# 57 constant wlan-pd-gpio# +d# 58 constant wlan-reset-gpio# + +d# 146 constant usb-hub-reset-gpio# + +d# 149 constant emmc-rst-gpio# + +d# 142 constant sec-trg-gpio# + +d# 53 constant rtc-scl-gpio# +d# 54 constant rtc-sda-gpio# + +d# 104 constant ec-edi-cs-gpio# +d# 105 constant ec-edi-mosi-gpio# +d# 106 constant ec-edi-clk-gpio# + +d# 56 constant boot-dev-sel-gpio# + +d# 143 constant mic-ac/dc-gpio# +d# 8 constant audio-reset-gpio# +d# 97 constant hp-plug-gpio# +d# 11 constant vid2-gpio#
openfirmware@openfirmware.info