Commit Graph

73 Commits

Author SHA1 Message Date
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 52a4bace68 bsp:ls2k:uniform coding style, use space for indentation
use space instead of table for indentation in ls2k_ram.lds
2020-08-26 15:17:33 +08:00
michael febc124781 bsp:ls2k: adapt to FPU 2020-08-25 11:54:53 +08:00
michael bb20c33f13 bsp:ls2k:add c++ support 2020-08-24 11:33:49 +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
bigamgic eb0544c847 fix loongson 2k1000 libc 2020-06-21 23:27:55 +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
bigamgic 2f4b8604d9 fix mips64 8-byte alignment 2020-06-16 09:37:18 +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 fbe793e9a6 add bsp/ls2k window compilation instructions 2020-05-21 23:06:13 +08:00
bigmagic c79f947fff [bsp/ls2k]modified readme 2020-04-07 16:39:08 +08:00
bigmagic 8b4e365935 add ls2k readme 2020-04-07 14:39:33 +08:00
bigmagic c024e2e485 add ls2k bsp config 2020-04-07 14:39:20 +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