summaryrefslogtreecommitdiff
path: root/bsp/raspberry-pi/raspi4-64/drivers/Kconfig
blob: 3ea981e1f170ae3ed0285145e50c5297eaaef3b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139

config BSP_SUPPORT_FPU
    bool "Using Float"
    default n

menuconfig BSP_USING_VM_MODE
    bool "Enable VM mode"
    default n

menu "Hardware Drivers Config"
    menu "BCM Peripheral Drivers"
        menuconfig BSP_USING_UART
            bool "Using UART"
            select RT_USING_SERIAL
            default y

            if BSP_USING_UART
                config RT_USING_UART0
                bool "Enable UART 0"
                default y

                config RT_USING_UART1
                bool "Enable UART 1"
                default n

                config RT_USING_UART3
                bool "Enable UART 3"
                default n

                config RT_USING_UART4
                bool "Enable UART 4"
                default n

                config RT_USING_UART5
                bool "Enable UART 5"
                default n
            endif
            
        menuconfig BSP_USING_GIC
            bool "Enable GIC"
            select RT_USING_GIC
            default y
        if BSP_USING_GIC
            config BSP_USING_GICV2
                bool "Enable GIC400(GICV2)"
                default y
            config BSP_USING_GICV3
                bool "Enable GIC500(GICV3)"
                default n
        endif

        config BSP_USING_PIN
            bool "Using PIN"
            select RT_USING_PIN
            default y

            menuconfig BSP_USING_SPI
            bool "Enable SPI"
            select RT_USING_SPI
            default n
        
        if BSP_USING_SPI   
            config BSP_USING_SPI0_BUS
                bool "Enable SPI0 BUS"
                default n
            config BSP_USING_SPI0_DEVICE0
                bool "Enable SPI0 DEVICE0"
                select BSP_USING_SPI0_BUS
                default n
            config BSP_USING_SPI0_DEVICE1
                bool "Enable SPI0 DEVICE1"
                select BSP_USING_SPI0_BUS
                default n
        endif

        config BSP_USING_CORETIMER
            bool "Using core timer"
            select RT_USING_CORETIMER
            default y

        menuconfig BSP_USING_SYSTIMER
            bool "Enable SYSTIMER"
            default n

        if  BSP_USING_SYSTIMER
            config RT_USING_SYSTIMER1
                bool "Enable sys timer1"
                default n
            config RT_USING_SYSTIMER3
                bool "Enable sys timer3"
                default n
        endif

        config BSP_USING_WDT
            bool "Enable WDT"
            select RT_USING_WDT
            default n

        menuconfig BSP_USING_RTC
            bool "Enable RTC"
            select RT_USING_RTC
            default n

        if BSP_USING_RTC
            config BSP_USING_ALARM
                bool "Enable Alarm"
                select RT_USING_ALARM
                default n
        endif

        menuconfig BSP_USING_SDIO
            bool "Enable SDIO"
            select RT_USING_SDIO
            default n

        if BSP_USING_SDIO
            config BSP_USING_SDIO0
                bool "Enable SDIO0"
                select RT_USING_SDIO
                default n
        endif
    endmenu

    menu "Board Peripheral Drivers"
        menuconfig BSP_USING_HDMI
            bool "Enable HDMI"
            default n

        if BSP_USING_HDMI
            config BSP_USING_HDMI_DISPLAY
                bool "HDMI DISPLAY"
                default n
        endif

        menuconfig BSP_USING_TOUCH
            bool "Enable Touch"
            default n
    endmenu
endmenu