Browse Source

LED: change sequence of LED on v2

Change the LED sequence on v2 to be more what the software expects.
H. Peter Anvin 3 years ago
parent
commit
20994e38da
3 changed files with 4 additions and 4 deletions
  1. 1 1
      fpga/max80.sv
  2. 2 2
      fpga/v2.pins
  3. 1 1
      fpga/v2.sv

+ 1 - 1
fpga/max80.sv

@@ -103,7 +103,7 @@ module max80
     input	  rtc_32khz,
     input	  rtc_int_n,
 
-    // LED (2 = D23/G, 1 = D22/R, 0 = D17/B)
+    // LEDs
     output [2:0]  led,
 
     // USB

+ 2 - 2
fpga/v2.pins

@@ -73,7 +73,7 @@ n6	spi_cs_flash_n
 # k9	GPIO N/C
 m11	hdmi_scl
 # l9	GPIO N/C
-t13	led[0]
+t13	led[2]
 m9	abc_inp_n[1]
 # r9	GPI  VCC
 n9	exth_hb
@@ -95,7 +95,7 @@ t15	hdmi_hpd
 m10	abc_a[6]
 p11	rngio[1]
 p14	led[1]
-r14	led[2]
+r14	led[0]
 
 # Bank 5 (2.5 V)
 # n14	GPIO N/C

+ 1 - 1
fpga/v2.sv

@@ -88,7 +88,7 @@ module v2
     input	  rtc_32khz,
     input	  rtc_int_n,
 
-    // LED (2 = D23/G, 1 = D22/R, 0 = D17/B)
+    // LED (2 = D17/Y, 1 = D22/G, 0 = D23/B)
     output [2:0]  led,
 
     // USB