dts/arm/microchip: Mark uart & i2c nodes as disabled by default
Have the SoC dtsi files for microchip mark the devices (uart & i2c) as disabled by default and let the board dts files enable which one's they need/use (which is what's happening already). Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
39425eaada
commit
3c8f8cb256
4 changed files with 25 additions and 3 deletions
|
@ -13,8 +13,14 @@
|
|||
|
||||
#define DT_NUM_IRQ_PRIO_BITS \
|
||||
DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS
|
||||
#define DT_NS16550_REG_SHIFT \
|
||||
DT_NS16550_400F2400_REG_SHIFT
|
||||
#if defined(DT_NS16550_400F2400_REG_SHIFT)
|
||||
#define DT_NS16550_REG_SHIFT DT_NS16550_400F2400_REG_SHIFT
|
||||
#elif defined(DT_NS16550_400F2800_REG_SHIFT)
|
||||
#define DT_NS16550_REG_SHIFT DT_NS16550_400F2800_REG_SHIFT
|
||||
#elif defined(DT_NS16550_400F2C00_REG_SHIFT)
|
||||
#define DT_NS16550_REG_SHIFT DT_NS16550_400F2C00_REG_SHIFT
|
||||
#endif
|
||||
|
||||
#define DT_UART_NS16550_PORT_0_BASE_ADDR \
|
||||
DT_NS16550_400F2400_BASE_ADDRESS
|
||||
#define DT_UART_NS16550_PORT_0_CLK_FREQ 1843200
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue