Merge pull request #2005 from VOGL-electronic/json2dts_zephyr_remove_configs

litex_json2dts_zephyr.py: Remove unnessesary configs
This commit is contained in:
enjoy-digital 2024-07-04 09:10:27 +02:00 committed by GitHub
commit b286fe5621
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 12 deletions

View File

@ -253,16 +253,13 @@ overlay_handlers = {
'uart': { 'uart': {
'handler': peripheral_handler, 'handler': peripheral_handler,
'alias': 'uart0', 'alias': 'uart0',
'config_entry': 'UART_LITEUART'
}, },
'timer0': { 'timer0': {
'handler': peripheral_handler, 'handler': peripheral_handler,
'config_entry': 'LITEX_TIMER'
}, },
'ethmac': { 'ethmac': {
'handler': ethmac_handler, 'handler': ethmac_handler,
'alias': 'eth0', 'alias': 'eth0',
'config_entry': 'ETH_LITEETH'
}, },
'spimaster': { 'spimaster': {
'handler': spimaster_handler, 'handler': spimaster_handler,
@ -276,43 +273,35 @@ overlay_handlers = {
'handler': peripheral_handler, 'handler': peripheral_handler,
'alias': 'sdcard_block2mem', 'alias': 'sdcard_block2mem',
'size': 0x18, 'size': 0x18,
'config_entry': 'SD_LITESD'
}, },
'sdcard_core': { 'sdcard_core': {
'handler': peripheral_handler, 'handler': peripheral_handler,
'alias': 'sdcard_core', 'alias': 'sdcard_core',
'size': 0x2C, 'size': 0x2C,
'config_entry': 'SD_LITESD'
}, },
'sdcard_irq': { 'sdcard_irq': {
'handler': peripheral_handler, 'handler': peripheral_handler,
'alias': 'sdcard_irq', 'alias': 'sdcard_irq',
'size': 0x0C, 'size': 0x0C,
'config_entry': 'SD_LITESD'
}, },
'sdcard_mem2block': { 'sdcard_mem2block': {
'handler': peripheral_handler, 'handler': peripheral_handler,
'alias': 'sdcard_mem2block', 'alias': 'sdcard_mem2block',
'size': 0x18, 'size': 0x18,
'config_entry': 'SD_LITESD'
}, },
'sdcard_phy': { 'sdcard_phy': {
'handler': peripheral_handler, 'handler': peripheral_handler,
'alias': 'sdcard_phy', 'alias': 'sdcard_phy',
'size': 0x10, 'size': 0x10,
'config_entry': 'SD_LITESD'
}, },
'i2c0' : { 'i2c0' : {
'handler': i2c_handler, 'handler': i2c_handler,
'config_entry': 'I2C_LITEX'
}, },
'i2s_rx' : { 'i2s_rx' : {
'handler': i2s_handler, 'handler': i2s_handler,
'config_entry': 'I2S_LITEX'
}, },
'i2s_tx' : { 'i2s_tx' : {
'handler': i2s_handler, 'handler': i2s_handler,
'config_entry': 'I2S_LITEX'
}, },
'watchdog0': { 'watchdog0': {
'handler': peripheral_handler, 'handler': peripheral_handler,
@ -321,7 +310,6 @@ overlay_handlers = {
'mmcm' : { 'mmcm' : {
'alias': 'clock0', 'alias': 'clock0',
'handler': peripheral_handler, 'handler': peripheral_handler,
'config_entry': 'CLOCK_CONTROL_LITEX'
}, },
'main_ram': { 'main_ram': {
'handler': ram_handler, 'handler': ram_handler,