1. May 19, 2021
  2. May 14, 2021
  3. May 06, 2021
  4. Apr 29, 2021
  5. Apr 28, 2021
  6. Apr 24, 2021
  7. Apr 22, 2021
    • Guo Ren's avatar
      lib: utils: reset: Add T-HEAD sample platform reset driver · 49e422c5
      Guo Ren authored
      
      
      This driver is for T-HEAD test chip, fpga. It could work with
      all T-HEAD riscv processors: C9xx series.
      
      example1: (Using io-regs for reset)
      reset: reset-sample {
      	compatible = "thead,reset-sample";
      	plic-delegate = <0xff 0xd81ffffc>;
      	entry-reg = <0xff 0xff019050>;
      	entry-cnt = <4>;
      	control-reg = <0xff 0xff015004>;
      	control-val = <0x1c>;
      	csr-copy = <0x7f3 0x7c0 0x7c1 0x7c2 0x7c3 0x7c5 0x7cc>;
      };
      
      example2: (Using csr-regs for reset)
      reset: reset-sample {
      	compatible = "thead,reset-sample";
      	plic-delegate = <0xff 0xd81ffffc>;
      	using-csr-reset;
      	csr-copy = <0x7c0 0x7c1 0x7c2 0x7c3 0x7c5 0x7cc
      		    0x3b0 0x3b1 0x3b2 0x3b3
      		    0x3b4 0x3b5 0x3b6 0x3b7
      		    0x3a0>;
      };
      
      example3: (Only delegate plic enable to S-mode)
      reset: reset-sample {
      	compatible = "thead,reset-sample";
      	plic-delegate = <0xff 0xd81ffffc>;
      };
      
      After this patch, all T-HEAD c9xx would use platform/generic with fw_dynamic
      as default:
      
      CROSS_COMPILE=riscv64-linux-gnu- PLATFORM=generic FW_PIC=y /usr/bin/make
      
      The platform/thead will be deprecated.
      
      Signed-off-by: default avatarGuo Ren <guoren@linux.alibaba.com>
      Reviewed-by: default avatarAnup Patel <anup.patel@wdc.com>
      49e422c5
    • Guo Ren's avatar
      lib: utils: Implement "64bit-mmio" property parsing · c5d06450
      Guo Ren authored
      
      
      Figure out CLINT has_64bit_mmio from DT node and using antonym for
      compatibility.
      
      Signed-off-by: default avatarGuo Ren <guoren@linux.alibaba.com>
      Reviewed-by: default avatarAnup Patel <anup.patel@wdc.com>
      c5d06450
  8. Apr 13, 2021
  9. Apr 12, 2021
  10. Apr 09, 2021
  11. Apr 05, 2021
  12. Apr 01, 2021