|
2778 | 2778 | };
|
2779 | 2779 | };
|
2780 | 2780 |
|
| 2781 | + pmu { |
| 2782 | + compatible = "riscv,pmu"; |
| 2783 | + riscv,event-to-mhpmevent = |
| 2784 | + <0x00003 0x00000000 0x00000010>, |
| 2785 | + <0x00004 0x00000000 0x00000011>, |
| 2786 | + <0x00005 0x00000000 0x00000007>, |
| 2787 | + <0x00006 0x00000000 0x00000006>, |
| 2788 | + <0x00008 0x00000000 0x00000027>, |
| 2789 | + <0x00009 0x00000000 0x00000028>, |
| 2790 | + <0x10000 0x00000000 0x0000000c>, |
| 2791 | + <0x10001 0x00000000 0x0000000d>, |
| 2792 | + <0x10002 0x00000000 0x0000000e>, |
| 2793 | + <0x10003 0x00000000 0x0000000f>, |
| 2794 | + <0x10008 0x00000000 0x00000001>, |
| 2795 | + <0x10009 0x00000000 0x00000002>, |
| 2796 | + <0x10010 0x00000000 0x00000010>, |
| 2797 | + <0x10011 0x00000000 0x00000011>, |
| 2798 | + <0x10012 0x00000000 0x00000012>, |
| 2799 | + <0x10013 0x00000000 0x00000013>, |
| 2800 | + <0x10019 0x00000000 0x00000004>, |
| 2801 | + <0x10021 0x00000000 0x00000003>, |
| 2802 | + <0x10030 0x00000000 0x0000001c>, |
| 2803 | + <0x10031 0x00000000 0x0000001b>; |
| 2804 | + riscv,event-to-mhpmcounters = |
| 2805 | + <0x00003 0x00003 0xfffffff8>, |
| 2806 | + <0x00004 0x00004 0xfffffff8>, |
| 2807 | + <0x00005 0x00005 0xfffffff8>, |
| 2808 | + <0x00006 0x00006 0xfffffff8>, |
| 2809 | + <0x00007 0x00007 0xfffffff8>, |
| 2810 | + <0x00008 0x00008 0xfffffff8>, |
| 2811 | + <0x00009 0x00009 0xfffffff8>, |
| 2812 | + <0x0000a 0x0000a 0xfffffff8>, |
| 2813 | + <0x10000 0x10000 0xfffffff8>, |
| 2814 | + <0x10001 0x10001 0xfffffff8>, |
| 2815 | + <0x10002 0x10002 0xfffffff8>, |
| 2816 | + <0x10003 0x10003 0xfffffff8>, |
| 2817 | + <0x10008 0x10008 0xfffffff8>, |
| 2818 | + <0x10009 0x10009 0xfffffff8>, |
| 2819 | + <0x10010 0x10010 0xfffffff8>, |
| 2820 | + <0x10011 0x10011 0xfffffff8>, |
| 2821 | + <0x10012 0x10012 0xfffffff8>, |
| 2822 | + <0x10013 0x10013 0xfffffff8>, |
| 2823 | + <0x10019 0x10019 0xfffffff8>, |
| 2824 | + <0x10021 0x10021 0xfffffff8>, |
| 2825 | + <0x10030 0x10030 0xfffffff8>, |
| 2826 | + <0x10031 0x10031 0xfffffff8>; |
| 2827 | + riscv,raw-event-to-mhpmcounters = |
| 2828 | + <0x00000000 0x00000001 0xffffffff 0xffffffff 0xfffffff8>, |
| 2829 | + <0x00000000 0x00000002 0xffffffff 0xffffffff 0xfffffff8>, |
| 2830 | + <0x00000000 0x00000003 0xffffffff 0xffffffff 0xfffffff8>, |
| 2831 | + <0x00000000 0x00000004 0xffffffff 0xffffffff 0xfffffff8>, |
| 2832 | + <0x00000000 0x00000005 0xffffffff 0xffffffff 0xfffffff8>, |
| 2833 | + <0x00000000 0x00000006 0xffffffff 0xffffffff 0xfffffff8>, |
| 2834 | + <0x00000000 0x00000007 0xffffffff 0xffffffff 0xfffffff8>, |
| 2835 | + <0x00000000 0x00000008 0xffffffff 0xffffffff 0xfffffff8>, |
| 2836 | + <0x00000000 0x00000009 0xffffffff 0xffffffff 0xfffffff8>, |
| 2837 | + <0x00000000 0x0000000a 0xffffffff 0xffffffff 0xfffffff8>, |
| 2838 | + <0x00000000 0x0000000b 0xffffffff 0xffffffff 0xfffffff8>, |
| 2839 | + <0x00000000 0x0000000c 0xffffffff 0xffffffff 0xfffffff8>, |
| 2840 | + <0x00000000 0x0000000d 0xffffffff 0xffffffff 0xfffffff8>, |
| 2841 | + <0x00000000 0x0000000e 0xffffffff 0xffffffff 0xfffffff8>, |
| 2842 | + <0x00000000 0x0000000f 0xffffffff 0xffffffff 0xfffffff8>, |
| 2843 | + <0x00000000 0x00000010 0xffffffff 0xffffffff 0xfffffff8>, |
| 2844 | + <0x00000000 0x00000011 0xffffffff 0xffffffff 0xfffffff8>, |
| 2845 | + <0x00000000 0x00000012 0xffffffff 0xffffffff 0xfffffff8>, |
| 2846 | + <0x00000000 0x00000013 0xffffffff 0xffffffff 0xfffffff8>, |
| 2847 | + <0x00000000 0x00000014 0xffffffff 0xffffffff 0xfffffff8>, |
| 2848 | + <0x00000000 0x00000015 0xffffffff 0xffffffff 0xfffffff8>, |
| 2849 | + <0x00000000 0x00000016 0xffffffff 0xffffffff 0xfffffff8>, |
| 2850 | + <0x00000000 0x00000017 0xffffffff 0xffffffff 0xfffffff8>, |
| 2851 | + <0x00000000 0x00000018 0xffffffff 0xffffffff 0xfffffff8>, |
| 2852 | + <0x00000000 0x00000019 0xffffffff 0xffffffff 0xfffffff8>, |
| 2853 | + <0x00000000 0x0000001a 0xffffffff 0xffffffff 0xfffffff8>, |
| 2854 | + <0x00000000 0x0000001b 0xffffffff 0xffffffff 0xfffffff8>, |
| 2855 | + <0x00000000 0x0000001c 0xffffffff 0xffffffff 0xfffffff8>, |
| 2856 | + <0x00000000 0x0000001d 0xffffffff 0xffffffff 0xfffffff8>, |
| 2857 | + <0x00000000 0x0000001e 0xffffffff 0xffffffff 0xfffffff8>, |
| 2858 | + <0x00000000 0x0000001f 0xffffffff 0xffffffff 0xfffffff8>, |
| 2859 | + <0x00000000 0x00000020 0xffffffff 0xffffffff 0xfffffff8>, |
| 2860 | + <0x00000000 0x00000021 0xffffffff 0xffffffff 0xfffffff8>, |
| 2861 | + <0x00000000 0x00000022 0xffffffff 0xffffffff 0xfffffff8>, |
| 2862 | + <0x00000000 0x00000023 0xffffffff 0xffffffff 0xfffffff8>, |
| 2863 | + <0x00000000 0x00000024 0xffffffff 0xffffffff 0xfffffff8>, |
| 2864 | + <0x00000000 0x00000025 0xffffffff 0xffffffff 0xfffffff8>, |
| 2865 | + <0x00000000 0x00000026 0xffffffff 0xffffffff 0xfffffff8>, |
| 2866 | + <0x00000000 0x00000027 0xffffffff 0xffffffff 0xfffffff8>, |
| 2867 | + <0x00000000 0x00000028 0xffffffff 0xffffffff 0xfffffff8>, |
| 2868 | + <0x00000000 0x00000029 0xffffffff 0xffffffff 0xfffffff8>, |
| 2869 | + <0x00000000 0x0000002a 0xffffffff 0xffffffff 0xfffffff8>; |
| 2870 | + }; |
| 2871 | + |
2781 | 2872 | soc {
|
2782 | 2873 | intc: interrupt-controller@6d40000000 {
|
2783 | 2874 | compatible = "sophgo,sg2044-plic", "thead,c900-plic";
|
|
0 commit comments