Searched refs:DT_BASE (Results 1 – 2 of 2) sorted by relevance
36 #define DT_BASE "/sys/firmware/devicetree/base" macro68 if (mraa_file_exist(DT_BASE "/model")) { in mraa_96boards()70 if (mraa_file_contains(DT_BASE "/model", "Qualcomm Technologies, Inc. APQ 8016 SBC")) { in mraa_96boards()76 } else if (mraa_file_contains(DT_BASE "/model", "HiKey Development Board")) { in mraa_96boards()
40 #define DT_BASE "/sys/firmware/devicetree/base" macro215 if (mraa_file_exist(DT_BASE "/model")) { in mraa_banana()217 if (mraa_file_contains(DT_BASE "/model", "Banana Pro")) { in mraa_banana()223 if (mraa_file_contains(DT_BASE "/model", "Banana Pi")) { in mraa_banana()228 if (mraa_file_contains(DT_BASE "/soc@01c00000/i2c@01c2b400/status", "okay")) { in mraa_banana()231 if (mraa_file_contains(DT_BASE "/soc@01c00000/spi@01c05000/status", "okay")) { in mraa_banana()