zephyr/dts/riscv/ite
Gerard Marull-Paretas 4c8a8149de dts: add reg-shift property to all ns16550 devices
The ns16550 flags reg-shift property as optional. In case it is not
supplied, the ns16550 driver relies on a value defined in <soc.h>, or,
by default it takes 4 (shift by 2).

This patch adds the property to all ns16550 nodes, with the following
values:

- 2 if SoC did not have any custom value defined by
  UART_REG_ADDR_INTERVAL (corresponds to 1 << 2 = 4)
- If SoC defined DEFAULT_REG_INTERVAL (snps_arc_iot/it8xxx2), use such
  value (4=2, 2=1, 1=0).

These changes will allow simplifying the ns16550 driver.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-06-15 16:59:02 -05:00
..
it8xxx2-pinctrl-map.dtsi drivers: pinctrl: it8xxx2: update include paths 2022-05-09 12:45:29 -04:00
it8xxx2-wuc-map.dtsi dts: migrate includes to <zephyr/...> 2022-05-06 19:54:54 +02:00
it8xxx2.dtsi dts: add reg-shift property to all ns16550 devices 2022-06-15 16:59:02 -05:00