Home
last modified time | relevance | path

Searched refs:NRF51_UART_BASE (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/tests/qtest/
H A Dmicrobit-test.c56 g_assert_true(uart_wait_for_event(qts, NRF51_UART_BASE + in uart_rw_to_rxd()
58 out[i] = qtest_readl(qts, NRF51_UART_BASE + A_UART_RXD); in uart_rw_to_rxd()
68 qtest_writel(qts, NRF51_UART_BASE + A_UART_TXD, in[i]); in uart_w_to_txd()
69 g_assert_true(uart_wait_for_event(qts, NRF51_UART_BASE + in uart_w_to_txd()
81 g_assert_cmphex(qtest_readl(qts, NRF51_UART_BASE + A_UART_RXD), ==, 0x00); in test_nrf51_uart()
83 qtest_writel(qts, NRF51_UART_BASE + A_UART_ENABLE, 0x04); in test_nrf51_uart()
84 qtest_writel(qts, NRF51_UART_BASE + A_UART_STARTRX, 0x01); in test_nrf51_uart()
86 g_assert_true(uart_wait_for_event(qts, NRF51_UART_BASE + A_UART_RXDRDY)); in test_nrf51_uart()
87 qtest_writel(qts, NRF51_UART_BASE + A_UART_RXDRDY, 0x00); in test_nrf51_uart()
88 g_assert_cmphex(qtest_readl(qts, NRF51_UART_BASE + A_UART_RXD), ==, 'c'); in test_nrf51_uart()
[all …]
/openbmc/qemu/include/hw/arm/
H A Dnrf51.h28 #define NRF51_UART_BASE 0x40002000 macro
/openbmc/qemu/hw/arm/
H A Dnrf51_soc.c105 memory_region_add_subregion_overlap(&s->container, NRF51_UART_BASE, mr, 0); in nrf51_soc_realize()
108 BASE_TO_IRQ(NRF51_UART_BASE))); in nrf51_soc_realize()