Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/rockchip/rk_grf.c
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | |||||
#include <dev/extres/syscon/syscon_generic.h> | #include <dev/extres/syscon/syscon_generic.h> | ||||
#include "opt_soc.h" | #include "opt_soc.h" | ||||
static struct ofw_compat_data compat_data[] = { | static struct ofw_compat_data compat_data[] = { | ||||
#ifdef SOC_ROCKCHIP_RK3328 | #ifdef SOC_ROCKCHIP_RK3328 | ||||
{"rockchip,rk3328-grf", 1}, | {"rockchip,rk3328-grf", 1}, | ||||
#endif | #endif | ||||
#ifdef SOC_ROCKCHIP_RK3399 | |||||
{"rockchip,rk3399-grf", 1}, | |||||
{"rockchip,rk3399-pmugrf", 1}, | |||||
#endif | |||||
{NULL, 0} | {NULL, 0} | ||||
}; | }; | ||||
static int | static int | ||||
rk_grf_probe(device_t dev) | rk_grf_probe(device_t dev) | ||||
{ | { | ||||
if (!ofw_bus_status_okay(dev)) | if (!ofw_bus_status_okay(dev)) | ||||
Show All 21 Lines |