Skip to content

Commit

Permalink
Merge pull request #2005 from VOGL-electronic/json2dts_zephyr_remove_…
Browse files Browse the repository at this point in the history
…configs

litex_json2dts_zephyr.py: Remove unnessesary configs
  • Loading branch information
enjoy-digital committed Jul 4, 2024
2 parents d4d1a1b + b285992 commit b286fe5
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions litex/tools/litex_json2dts_zephyr.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,16 +253,13 @@ def peripheral_handler(name, parm, csr):
'uart': {
'handler': peripheral_handler,
'alias': 'uart0',
'config_entry': 'UART_LITEUART'
},
'timer0': {
'handler': peripheral_handler,
'config_entry': 'LITEX_TIMER'
},
'ethmac': {
'handler': ethmac_handler,
'alias': 'eth0',
'config_entry': 'ETH_LITEETH'
},
'spimaster': {
'handler': spimaster_handler,
Expand All @@ -276,43 +273,35 @@ def peripheral_handler(name, parm, csr):
'handler': peripheral_handler,
'alias': 'sdcard_block2mem',
'size': 0x18,
'config_entry': 'SD_LITESD'
},
'sdcard_core': {
'handler': peripheral_handler,
'alias': 'sdcard_core',
'size': 0x2C,
'config_entry': 'SD_LITESD'
},
'sdcard_irq': {
'handler': peripheral_handler,
'alias': 'sdcard_irq',
'size': 0x0C,
'config_entry': 'SD_LITESD'
},
'sdcard_mem2block': {
'handler': peripheral_handler,
'alias': 'sdcard_mem2block',
'size': 0x18,
'config_entry': 'SD_LITESD'
},
'sdcard_phy': {
'handler': peripheral_handler,
'alias': 'sdcard_phy',
'size': 0x10,
'config_entry': 'SD_LITESD'
},
'i2c0' : {
'handler': i2c_handler,
'config_entry': 'I2C_LITEX'
},
'i2s_rx' : {
'handler': i2s_handler,
'config_entry': 'I2S_LITEX'
},
'i2s_tx' : {
'handler': i2s_handler,
'config_entry': 'I2S_LITEX'
},
'watchdog0': {
'handler': peripheral_handler,
Expand All @@ -321,7 +310,6 @@ def peripheral_handler(name, parm, csr):
'mmcm' : {
'alias': 'clock0',
'handler': peripheral_handler,
'config_entry': 'CLOCK_CONTROL_LITEX'
},
'main_ram': {
'handler': ram_handler,
Expand Down

0 comments on commit b286fe5

Please sign in to comment.