40pin gpio control and led support
This commit is contained in:
parent
3c39232bb5
commit
b4d28f2e73
8 changed files with 485 additions and 34 deletions
|
@ -111,12 +111,27 @@ uart_debug_tx = port:PB8<4><1><default><default>
|
|||
uart_debug_rx = port:PB9<4><1><default><default>
|
||||
|
||||
[jtag_para]
|
||||
jtag_enable = 1
|
||||
jtag_enable = 0
|
||||
jtag_ms = port:PB0<4><default><default><default>
|
||||
jtag_ck = port:PB1<4><default><default><default>
|
||||
jtag_do = port:PB2<4><default><default><default>
|
||||
jtag_di = port:PB3<4><default><default><default>
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;
|
||||
;LED support
|
||||
;----------------------------------------------------------------------------------
|
||||
[led_para]
|
||||
compatible = "allwinner,sunxi-leds"
|
||||
led_used = 1
|
||||
led_num = 3
|
||||
led1 = port:PD24<1><default><default><default>
|
||||
led1_trigger = "default-on"
|
||||
led2 = port:PE14<1><default><default><default>
|
||||
led2_trigger = "heartbeat"
|
||||
led3 = port:PE15<1><default><default><default>
|
||||
led3_trigger = "default-on"
|
||||
|
||||
[clock]
|
||||
pll4 = 300
|
||||
pll6 = 600
|
||||
|
@ -1242,6 +1257,43 @@ ir_protocol_used = 0
|
|||
ir_power_key_code = 116
|
||||
ir_addr_code = 0x17c612
|
||||
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
;userspace gpio interface for android
|
||||
;----------------------------------------------------------------------------------
|
||||
[gpio_para]
|
||||
compatible = "allwinner,sunxi-init-gpio"
|
||||
gpio_used = 1
|
||||
gpio_num = 28
|
||||
gpio_pin_1 = port:PH3<1><default><default><0>
|
||||
gpio_pin_2 = port:PH2<1><default><default><0>
|
||||
gpio_pin_3 = port:PH6<1><default><default><0>
|
||||
gpio_pin_4 = port:PH7<1><default><default><0>
|
||||
gpio_pin_5 = port:PH10<1><default><default><0>
|
||||
gpio_pin_6 = port:PH11<1><default><default><0>
|
||||
gpio_pin_7 = port:PD2<1><default><default><0>
|
||||
gpio_pin_8 = port:PD3<1><default><default><0>
|
||||
gpio_pin_9 = port:PD1<1><default><default><0>
|
||||
gpio_pin_10 = port:PC4<1><default><default><0>
|
||||
gpio_pin_11 = port:PC7<1><default><default><0>
|
||||
gpio_pin_12 = port:PB5<1><default><default><0>
|
||||
gpio_pin_13 = port:PB4<1><default><default><0>
|
||||
gpio_pin_14 = port:PB6<1><default><default><0>
|
||||
gpio_pin_15 = port:PL12<1><default><default><0>
|
||||
gpio_pin_16 = port:PB0<1><default><default><0>
|
||||
gpio_pin_17 = port:PB1<1><default><default><0>
|
||||
gpio_pin_18 = port:PB3<1><default><default><0>
|
||||
gpio_pin_19 = port:PB2<1><default><default><0>
|
||||
gpio_pin_20 = port:PD4<1><default><default><0>
|
||||
gpio_pin_21 = port:PC0<1><default><default><0>
|
||||
gpio_pin_22 = port:PD0<1><default><default><0>
|
||||
gpio_pin_23 = port:PC2<1><default><default><0>
|
||||
gpio_pin_24 = port:PC3<1><default><default><0>
|
||||
gpio_pin_25 = port:PB7<1><default><default><0>
|
||||
gpio_pin_26 = port:PL9<1><default><default><0>
|
||||
gpio_pin_27 = port:PL7<1><default><default><0>
|
||||
gpio_pin_28 = port:PL8<1><default><default><0>
|
||||
|
||||
;--------------------------------------------------------------------------------------------------------
|
||||
;compatible ---pmu0 name, support:axp803
|
||||
;used ---0:not used,1:used
|
||||
|
|
|
@ -111,12 +111,27 @@ uart_debug_tx = port:PB8<4><1><default><default>
|
|||
uart_debug_rx = port:PB9<4><1><default><default>
|
||||
|
||||
[jtag_para]
|
||||
jtag_enable = 1
|
||||
jtag_enable = 0
|
||||
jtag_ms = port:PB0<4><default><default><default>
|
||||
jtag_ck = port:PB1<4><default><default><default>
|
||||
jtag_do = port:PB2<4><default><default><default>
|
||||
jtag_di = port:PB3<4><default><default><default>
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;
|
||||
;LED support
|
||||
;----------------------------------------------------------------------------------
|
||||
[led_para]
|
||||
compatible = "allwinner,sunxi-leds"
|
||||
led_used = 1
|
||||
led_num = 3
|
||||
led1 = port:PD24<1><default><default><default>
|
||||
led1_trigger = "default-on"
|
||||
led2 = port:PE14<1><default><default><default>
|
||||
led2_trigger = "heartbeat"
|
||||
led3 = port:PE15<1><default><default><default>
|
||||
led3_trigger = "default-on"
|
||||
|
||||
[clock]
|
||||
pll4 = 300
|
||||
pll6 = 600
|
||||
|
@ -550,7 +565,7 @@ lcd_dclk_freq = 30
|
|||
lcd_pwm_used = 1
|
||||
lcd_pwm_ch = 16
|
||||
lcd_pwm_freq = 50000
|
||||
lcd_bl_0_percent = 50
|
||||
lcd_bl_0_percent = 10
|
||||
lcd_pwm_pol = 1
|
||||
lcd_pwm_max_limit = 255
|
||||
lcd_hbp = 88
|
||||
|
@ -1242,6 +1257,43 @@ ir_protocol_used = 0
|
|||
ir_power_key_code = 116
|
||||
ir_addr_code = 0x17c612
|
||||
|
||||
|
||||
;-------------------------------------------------------------------------------
|
||||
;userspace gpio interface for android
|
||||
;----------------------------------------------------------------------------------
|
||||
[gpio_para]
|
||||
compatible = "allwinner,sunxi-init-gpio"
|
||||
gpio_used = 1
|
||||
gpio_num = 28
|
||||
gpio_pin_1 = port:PH3<1><default><default><0>
|
||||
gpio_pin_2 = port:PH2<1><default><default><0>
|
||||
gpio_pin_3 = port:PH6<1><default><default><0>
|
||||
gpio_pin_4 = port:PH7<1><default><default><0>
|
||||
gpio_pin_5 = port:PH10<1><default><default><0>
|
||||
gpio_pin_6 = port:PH11<1><default><default><0>
|
||||
gpio_pin_7 = port:PD2<1><default><default><0>
|
||||
gpio_pin_8 = port:PD3<1><default><default><0>
|
||||
gpio_pin_9 = port:PD1<1><default><default><0>
|
||||
gpio_pin_10 = port:PC4<1><default><default><0>
|
||||
gpio_pin_11 = port:PC7<1><default><default><0>
|
||||
gpio_pin_12 = port:PB5<1><default><default><0>
|
||||
gpio_pin_13 = port:PB4<1><default><default><0>
|
||||
gpio_pin_14 = port:PB6<1><default><default><0>
|
||||
gpio_pin_15 = port:PL12<1><default><default><0>
|
||||
gpio_pin_16 = port:PB0<1><default><default><0>
|
||||
gpio_pin_17 = port:PB1<1><default><default><0>
|
||||
gpio_pin_18 = port:PB3<1><default><default><0>
|
||||
gpio_pin_19 = port:PB2<1><default><default><0>
|
||||
gpio_pin_20 = port:PD4<1><default><default><0>
|
||||
gpio_pin_21 = port:PC0<1><default><default><0>
|
||||
gpio_pin_22 = port:PD0<1><default><default><0>
|
||||
gpio_pin_23 = port:PC2<1><default><default><0>
|
||||
gpio_pin_24 = port:PC3<1><default><default><0>
|
||||
gpio_pin_25 = port:PB7<1><default><default><0>
|
||||
gpio_pin_26 = port:PL9<1><default><default><0>
|
||||
gpio_pin_27 = port:PL7<1><default><default><0>
|
||||
gpio_pin_28 = port:PL8<1><default><default><0>
|
||||
|
||||
;--------------------------------------------------------------------------------------------------------
|
||||
;compatible ---pmu0 name, support:axp803
|
||||
;used ---0:not used,1:used
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue