Commit Graph

36 Commits

Author SHA1 Message Date
Bernard Xiong 8302a72243
Merge pull request #3913 from Michael0066/master
MIPS:fix the RT_EXCEPTION_MAX value
2020-09-19 22:11:30 +08:00
michael ab78ea1de1 bsp:ls2k:improved implement of shutdown and reboot command 2020-09-17 20:22:51 +08:00
michael 623bf0abc9 bsp:ls2k:unify code format 2020-09-17 10:39:45 +08:00
michael 93bcc2e0d2 unify code format 2020-09-15 11:34:29 +08:00
michael dd36771801 bsp:ls2k:add reboot and power command 2020-09-15 11:25:37 +08:00
michael b86d608d63 bsp:ls2k: add reboot and shutdown support 2020-09-15 11:20:15 +08:00
bigmagic abe9da6088 gmac address variable 2020-09-14 15:14:10 +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 39224e4888 fixed loongson bsp compile flags 2020-09-05 10:28:03 +08:00
bigmagic e5a70d532b modify ls2k bsp readme 2020-09-04 10:50:02 +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 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