Commit Graph

21 Commits

Author SHA1 Message Date
michael 93bcc2e0d2 unify code format 2020-09-15 11:34:29 +08:00
michael b86d608d63 bsp:ls2k: add reboot and shutdown support 2020-09-15 11:20:15 +08:00
Bernard Xiong de0bb6f96c
Merge pull request #3883 from bigmagic123/ls2k_add_gmac
Ls2k add gmac
2020-09-11 13:33:16 +08:00
Bernard Xiong 36cb4349a6
Merge pull request #3897 from yangjie11/yj_dev1
[components][driver/pin.c]pin 框架增加 rt_pin_get
2020-09-11 12:57:59 +08:00
bigmagic a97b0a0d39 code format 2020-09-11 11:44:49 +08:00
yangjie 38b3a3445e [bsp][driver] 初始化 BSP 中的 rt_pin_ops 2020-09-11 11:16:42 +08:00
bigmagic e0aa079e52 LwIP on 64 bit processor 2020-09-04 10:23:31 +08:00
bigmagic 88314868dd add ls2k gmac driver 2020-09-04 10:16:34 +08:00
michael febc124781 bsp:ls2k: adapt to FPU 2020-08-25 11:54:53 +08:00
michael 9d742141b8 bsp:ls2k:gpio read typo error,fix it.
from ls2k user manuanl know that GPIO0_I is input, GPIO1_I is reserved.
here typo error, fix it.
2020-08-24 09:35:22 +08:00
michael b4f75d1ef8 bsp:ls2k:make rtc driver to adapter Kconfig
rtc driver can not configured through Kconfig
2020-08-24 09:35:16 +08:00
Du Huanpeng cde1e5d940 bsp: ls2k: pwm driver
attach probe of the oscilloscope too the
3.3v & PWM3 like below:

          jack
    ------|  |---|    |-|    |----
    |o o 3.3v    |eth1| |eth0|
    |o o
    |o o
    |o o PWM3
    |o o

type commands below to rt-thread console:
    msh /> pwm_enable pwm0 3
    msh /> pwm_set pwm0 3 140 90

turn off pwm:
    msh /> pwm_disable pwm0 3

Signed-off-by: Du Huanpeng <548708880@qq.com>
2020-07-03 15:54:03 +08:00
Bernard Xiong 7ba7b996dd
Merge pull request #3717 from imgtec/bsp-ls2k/rtc-v2
bsp: ls2k: internal rtc driver
2020-06-28 19:09:37 +08:00
Du Huanpeng e58c7bb2cd bsp: ls2k: internal rtc driver
hardware date format
  year, the same as ctime
  month 1 ~ 12
  no leap second

Signed-off-by: Du Huanpeng <548708880@qq.com>
2020-06-23 20:14:09 +08:00
bigamgic 1ec681a551 fix ls2k libc and irq 2020-06-21 23:28:11 +08:00
Bernard Xiong d7d6dbe774
Merge pull request #3695 from imgtec/bsp-ls2k/clk-up-v1
bsp: ls2k: initial clk driver
2020-06-17 09:11:47 +08:00
Du Huanpeng 50039211b4 bsp: ls2k: initial clk driver
Signed-off-by: Du Huanpeng <548708880@qq.com>
2020-06-16 11:21:22 +08:00
bigamgic 0fbbe01bf6 ls2k1000 cpu frequency 1GHz 2020-06-16 09:37:33 +08:00
Du Huanpeng 725d930937 bsp: ls2k: initial gpio driver without irq support
Signed-off-by: duhuanpeng <548708880@qq.com>
2020-06-03 10:54:18 +08:00
bigmagic 990f731b77 fix mips64 some bug 2020-04-07 14:39:12 +08:00
bigmagic 0f26ffa7a2 add ls2k bsp 2020-04-07 14:38:58 +08:00