20251104让AIO-3576Q38开发板跑Rockchip的原厂Android14之后适配GPIO扩展芯片PCA9555
Y:\new_disk_4t\RK3576_Android14.0_SDK_RELEASE\kernel-6.1\arch\arm64\configs\rockchip_defconfig
增加:CONFIG_GPIO_PCA953X=y
Z:\proj\RK3576_Android14.0\kernel-6.1\include\dt-bindings\pinctrl\rockchip.h
//PCA953X
#define PCA_IO0_0 0
#define PCA_IO0_1 1
4、【可选:】
Y:\new_disk_4t\RK3576_Android14.0_SDK_RELEASE\device\rockchip\rk3576\rk3576_u\BoardConfig.mk
#PRODUCT_KERNEL_DTS := rk3576-evb1-v10
PRODUCT_KERNEL_DTS := rk3576-firefly-aio-3576q38
20251104让AIO-3576Q38开发板跑Rockchip的原厂Android14之后适配GPIO扩展芯片PCA9555
2025/11/4 14:09
缘起:想对AIO-3576Q38开发板适配Rockchip的原厂Android14,以学习驱动模块的适配!
对AIO-3576Q38开发板的eth1网卡RTL8211F-CG芯片进行性能摸底,那就跑半小时的iperf3了!
【一般性测试/非精确】实测网速【平均值】:934 Mbits/sec
编译firefly的AIO-3576Q38开发板的Android14。
开动!
https://www.t-firefly.com/doc/download/320.html
AIO-3576C
源代码
https://pan.baidu.com/s/1mGkGxlxodHedXJZqLKRRRg?pwd=1234
Android14.0 bundle
提取码:1234
https://wiki.t-firefly.com/zh_CN/AIO-3576Q38/android_compile_android14.0_firmware.html
AIO-3576Q38
3. 编译 Android14.0 固件
3.1. 下载 Android14.0 SDK
SDK 源码与 bundle 压缩包均存放在云盘中。如有需要请联系商务 : sales@t-firefly.com
0、在DeepSeek提问:
请问如何给RK3576的Android14适配GPIO扩展芯片PCA9555。在kernel/defconfig/DTS哪几个文件需要配置?需要注意些什么?



1、使用i2cdetect确认I2C2总线上的PCA9555芯片的挂载:
console:/ $
console:/ $
console:/ $
console:/ $ su
console:/ #
console:/ #
console:/ # i2c
i2cdetect i2cdump i2cget i2cset
console:/ # i2cdetect -y 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- 21 -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 4e --
50: -- 51 -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
console:/ #
console:/ # [ 372.925067][ T521] healthd: battery l=50 v=3300 t=2.6 h=2 st=3 c=-1600 fc=100 chg=au
rk3576_u:/ #
rk3576_u:/ # i2
i2cdetect i2cdump i2cget i2cset
rk3576_u:/ # i2cdetect -y 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- 21 -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU --
50: -- 51 -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
rk3576_u:/ #
rk3576_u:/ #
rk3576_u:/ #
C:\Users\QQ>


2、kernel-6.1部分的配置/修改!
增加:CONFIG_GPIO_PCA953X=y
Y:\new_disk_4t\RK3576_Android14.0_SDK_RELEASE\kernel-6.1\arch\arm64\configs\rockchip_defconfig
Z:\proj\RK3576_Android14.0\kernel-6.1\arch\arm64\configs\firefly_defconfig
CONFIG_BUG_ON_DATA_CORRUPTION=y
CONFIG_ENABLE_DEFAULT_TRACERS=y
# CONFIG_RUNTIME_TESTING_MENU is not set
CONFIG_TOUCHSCREEN_HX83102=y
CONFIG_TOUCHSCREEN_GT9XXX=y
CONFIG_VIDEO_XC7160=y
CONFIG_SPI_WK2XXX=y
CONFIG_CAN_DEV=y
CONFIG_CAN_NETLINK=y
CONFIG_CAN=y
CONFIG_GPIO_PCA953X=y
CONFIG_RTL8852BE=m
CONFIG_SND_SOC_ES8389=y
CONFIG_FB_LT9211=y
CONFIG_TOUCHSCREEN_GSLX680_FIREFLY=y



编译完成之后再确认:
Y:\new_disk_4t\RK3576_Android14.0_SDK_RELEASE\kernel-6.1\.config
Z:\proj\RK3576_Android14.0\kernel-6.1\.config
#
# I2C GPIO expanders
#
# CONFIG_GPIO_ADNP is not set
# CONFIG_GPIO_AW9110 is not set
# CONFIG_GPIO_GW_PLD is not set
# CONFIG_GPIO_MAX7300 is not set
# CONFIG_GPIO_MAX732X is not set
# CONFIG_GPIO_NCA9539 is not set
CONFIG_GPIO_PCA953X=y
# CONFIG_GPIO_PCA953X_IRQ is not set
# CONFIG_GPIO_PCA9570 is not set
# CONFIG_GPIO_PCF857X is not set
# CONFIG_GPIO_TPIC2810 is not set
# end of I2C GPIO expanders

Y:\new_disk_4t\RK3576_Android14.0_SDK_RELEASE\kernel-6.1\drivers\gpio\gpio-pca953x.c
Z:\proj\RK3576_Android14.0\kernel-6.1\drivers\gpio\gpio-pca953x.c
Y:\new_disk_4t\RK3576_Android14.0_SDK_RELEASE\kernel-6.1\drivers\gpio\Kconfig
Z:\proj\RK3576_Android14.0\kernel-6.1\drivers\gpio\Kconfig
config GPIO_NCA9539
tristate "NCA9539 I2C GPIO expander"
depends on I2C || COMPILE_TEST
select REGMAP_I2C
help
Say yes here to support the NCA9539 series of I2C Expanders.
GPIO expanders used for additional digital outputs or inputs.
config GPIO_PCA953X
tristate "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports"
select REGMAP_I2C
help
Say yes here to provide access to several register-oriented
SMBus I/O expanders, made mostly by NXP or TI. Compatible
models include:
4 bits: pca9536, pca9537
8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554,
pca9556, pca9557, pca9574, tca6408, tca9554, xra1202
16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575,
tca6416
24 bits: tca6424
40 bits: pca9505, pca9698
config GPIO_PCA953X_IRQ
bool "Interrupt controller support for PCA953x"
depends on GPIO_PCA953X
select GPIOLIB_IRQCHIP
help
Say yes here to enable the pca953x to be used as an interrupt
controller.
Y:\new_disk_4t\RK3576_Android14.0_SDK_RELEASE\kernel-6.1\drivers\gpio\Makefile
Z:\proj\RK3576_Android14.0\kernel-6.1\drivers\gpio\Makefile
obj-$(CONFIG_GPIO_PALMAS) += gpio-palmas.o
obj-$(CONFIG_GPIO_PCA953X) += gpio-pca953x.o
obj-$(CONFIG_GPIO_PCA9570) += gpio-pca9570.o
obj-$(CONFIG_GPIO_PCF857X) += gpio-pcf857x.o


编译完成之后,确认:
Y:\new_disk_4t\RK3576_Android14.0_SDK_RELEASE\kernel-6.1\drivers\gpio\gpio-pca953x.o
Z:\proj\RK3576_Android14.0\kernel-6.1\drivers\gpio\gpio-pca953x.o

3、DTS的挂载:
Y:\new_disk_4t\RK3576_Android14.0_SDK_RELEASE\kernel-6.1\arch\arm64\boot\dts\rockchip\rk3576-firefly-aio-3576q38-cam-8ms1m.dtsi
Y:\new_disk_4t\RK3576_Android14.0_SDK_RELEASE\kernel-6.1\arch\arm64\boot\dts\rockchip\rk3576-firefly-aio-3576q38-cam-dcphy-8ms1m.dtsi
&i2c2 {
status = "okay";
#if N_RTC
pcf8563: pcf8563@51 {
compatible = "nxp,pcf8563";
reg = <0x51>;
#clock-cells = <0>;
clock-frequency = <32768>;
clock-output-names = "pcf8563";
pinctrl-names = "default";
pinctrl-0 = <&pcf8563_int>;
interrupt-parent = <&gpio0>;
interrupts = <RK_PA0 IRQ_TYPE_LEVEL_LOW>;
wakeup-source;
};
#endif
// pca9555: gpio@21 {
// status = "okay";
// compatible = "nxp,pca9555";
// reg = <0x21>;
// gpio-controller;
// #gpio-cells = <2>;
// gpio-group-num = <200>;
// };
};


你会很容易发现编译器不认识PCA_IO0_2!
Y:\new_disk_4t\RK3576_Android14.0_SDK_RELEASE\kernel-6.1\arch\arm64\boot\dts\rockchip\rk3576-firefly-aio-3576q38.dtsi
#if MODULE_4G
vcc3v8_4g: vcc3v8-4g {
compatible = "regulator-fixed";
regulator-name = "vcc3v8_4g";
regulator-min-microvolt = <3800000>;
regulator-max-microvolt = <3800000>;
regulator-boot-on;
regulator-always-on;
enable-active-high;
gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
vin-supply = <&vcc5v0_sys>;
};
#endif

Error: arch/arm64/boot/dts/rockchip/rk3576-firefly-aio-3576q38.dtsi:64.20-21 syntax error
FATAL ERROR: Unable to parse input tree
make[3]: *** [scripts/Makefile.lib:421:arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dtb] 错误 1
make[2]: *** [scripts/Makefile.build:500:arch/arm64/boot/dts/rockchip] 错误 2
make[1]: *** [Makefile:1513:rockchip/rk3576-evb1-v10.dtb] 错误 2
make[1]: *** 正在等待未完成的任务....
HOSTCC scripts/genksyms/parse.tab.o
HOSTCC scripts/genksyms/lex.lex.o
HOSTLD scripts/genksyms/genksyms
make: *** [arch/arm64/Makefile:240:rk3576-evb1-v10.img] 错误 2
#### failed to build some targets (3 seconds) ####
Build kernel failed!
jinhualong@jinhualong-LEGION-REN7000K-26IRX:~/new_disk_4t/RK3576_Android14.0_SDK_RELEASE$

DeepSeek:
问题分析
错误信息显示在第64行有语法错误:
dts
gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
问题在于:
PCA_IO0_2 宏未定义
GPIO引用语法不正确
解决方案
方案1:使用数字GPIO编号(推荐)
dts
#if MODULE_4G
vcc3v8_4g: vcc3v8-4g {
compatible = "regulator-fixed";
regulator-name = "vcc3v8_4g";
regulator-min-microvolt = <3800000>;
regulator-max-microvolt = <3800000>;
regulator-boot-on;
regulator-always-on;
enable-active-high;
gpio = <&pca9555 2 GPIO_ACTIVE_HIGH>; // 使用数字2代替PCA_IO0_2
vin-supply = <&vcc5v0_sys>;
};
#endif
方案2:定义GPIO宏
在设备树文件开头添加宏定义:
dts
// 在文件开头添加PCA9555 GPIO宏定义
#define PCA_GPIO0 0
#define PCA_GPIO1 1
#define PCA_GPIO2 2
#define PCA_GPIO3 3
#define PCA_GPIO4 4
#define PCA_GPIO5 5
#define PCA_GPIO6 6
#define PCA_GPIO7 7
#define PCA_GPIO8 8
#define PCA_GPIO9 9
#define PCA_GPIO10 10
#define PCA_GPIO11 11
#define PCA_GPIO12 12
#define PCA_GPIO13 13
#define PCA_GPIO14 14
#define PCA_GPIO15 15
#if MODULE_4G
vcc3v8_4g: vcc3v8-4g {
compatible = "regulator-fixed";
regulator-name = "vcc3v8_4g";
regulator-min-microvolt = <3800000>;
regulator-max-microvolt = <3800000>;
regulator-boot-on;
regulator-always-on;
enable-active-high;
gpio = <&pca9555 PCA_GPIO2 GPIO_ACTIVE_HIGH>; // 使用定义的宏
vin-supply = <&vcc5v0_sys>;
};
#endif

那就find找吧:
rootroot@rootroot-X99-Turbo:~/proj/RK3576_Android14.0/kernel-6.1/arch/arm64/boot/dts/rockchip76$ grep PCA_IO0_2 . -R
./rk3576-firefly-aio-3576c.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./rk3576-firefly-aio-3576q38.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./rk3576-firefly-aio-3576q.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./rk3576-firefly-aio-3576jd4.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
rootroot@rootroot-X99-Turbo:~/proj/RK3576_Android14.0/kernel-6.1/arch/arm64/boot/dts/rockchip76$
rootroot@rootroot-X99-Turbo:~/proj/RK3576_Android14.0/kernel-6.1/arch/arm64/boot/dts/rockchip76$
rootroot@rootroot-X99-Turbo:~/proj/RK3576_Android14.0/kernel-6.1/arch/arm64/boot/dts/rockchip76$ cd ..
rootroot@rootroot-X99-Turbo:~/proj/RK3576_Android14.0/kernel-6.1/arch/arm64/boot/dts$
rootroot@rootroot-X99-Turbo:~/proj/RK3576_Android14.0/kernel-6.1/arch/arm64/boot/dts$ grep PCA_IO0_2 . -R
./rockchip76/rk3576-firefly-aio-3576c.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./rockchip76/rk3576-firefly-aio-3576q38.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./rockchip76/rk3576-firefly-aio-3576q.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./rockchip76/rk3576-firefly-aio-3576jd4.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./rockchip77/rk3576-firefly-aio-3576q38.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
rootroot@rootroot-X99-Turbo:~/proj/RK3576_Android14.0/kernel-6.1/arch/arm64/boot/dts$ cd ../..
rootroot@rootroot-X99-Turbo:~/proj/RK3576_Android14.0/kernel-6.1/arch/arm64$
rootroot@rootroot-X99-Turbo:~/proj/RK3576_Android14.0/kernel-6.1/arch/arm64$ grep PCA_IO0_2 . -R
./boot/dts/rockchip76/rk3576-firefly-aio-3576c.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./boot/dts/rockchip76/rk3576-firefly-aio-3576q38.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./boot/dts/rockchip76/rk3576-firefly-aio-3576q.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./boot/dts/rockchip76/rk3576-firefly-aio-3576jd4.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./boot/dts/rockchip77/rk3576-firefly-aio-3576q38.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
rootroot@rootroot-X99-Turbo:~/proj/RK3576_Android14.0/kernel-6.1/arch/arm64$ cd ..
rootroot@rootroot-X99-Turbo:~/proj/RK3576_Android14.0/kernel-6.1/arch$
rootroot@rootroot-X99-Turbo:~/proj/RK3576_Android14.0/kernel-6.1/arch$ cd ..
rootroot@rootroot-X99-Turbo:~/proj/RK3576_Android14.0/kernel-6.1$
rootroot@rootroot-X99-Turbo:~/proj/RK3576_Android14.0/kernel-6.1$ grep PCA_IO0_2 . -R
./arch/arm64/boot/dts/rockchip76/rk3576-firefly-aio-3576c.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./arch/arm64/boot/dts/rockchip76/rk3576-firefly-aio-3576q38.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./arch/arm64/boot/dts/rockchip76/rk3576-firefly-aio-3576q.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./arch/arm64/boot/dts/rockchip76/rk3576-firefly-aio-3576jd4.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./arch/arm64/boot/dts/rockchip77/rk3576-firefly-aio-3576q38.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./scripts/dtc/include-prefixes/dt-bindings/pinctrl/rockchip.h:#define PCA_IO0_2 2
./scripts/dtc/include-prefixes/arm64/rockchip76/rk3576-firefly-aio-3576c.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./scripts/dtc/include-prefixes/arm64/rockchip76/rk3576-firefly-aio-3576q38.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./scripts/dtc/include-prefixes/arm64/rockchip76/rk3576-firefly-aio-3576q.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./scripts/dtc/include-prefixes/arm64/rockchip76/rk3576-firefly-aio-3576jd4.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./scripts/dtc/include-prefixes/arm64/rockchip77/rk3576-firefly-aio-3576q38.dtsi: gpio = <&pca9555 PCA_IO0_2 GPIO_ACTIVE_HIGH>;
./include/dt-bindings/pinctrl/rockchip.h:#define PCA_IO0_2 2
rootroot@rootroot-X99-Turbo:~/proj/RK3576_Android14.0/kernel-6.1$

天启这样干,实际上对初学者很不友好!
藏得这么深!要不是我喜欢折腾,真不是特别容易找到呀!
Z:\proj\RK3576_Android14.0\kernel-6.1\include\dt-bindings\pinctrl\rockchip.h
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Header providing constants for Rockchip pinctrl bindings.
*
* Copyright (c) 2013 MundoReader S.L.
* Author: Heiko Stuebner <heiko@sntech.de>
*/
#ifndef __DT_BINDINGS_ROCKCHIP_PINCTRL_H__
#define __DT_BINDINGS_ROCKCHIP_PINCTRL_H__
#define RK_PA0 0
#define RK_PA1 1
#define RK_PA2 2
#define RK_PA3 3
#define RK_PA4 4
#define RK_PA5 5
#define RK_PA6 6
#define RK_PA7 7
#define RK_PB0 8
#define RK_PB1 9
#define RK_PB2 10
#define RK_PB3 11
#define RK_PB4 12
#define RK_PB5 13
#define RK_PB6 14
#define RK_PB7 15
#define RK_PC0 16
#define RK_PC1 17
#define RK_PC2 18
#define RK_PC3 19
#define RK_PC4 20
#define RK_PC5 21
#define RK_PC6 22
#define RK_PC7 23
#define RK_PD0 24
#define RK_PD1 25
#define RK_PD2 26
#define RK_PD3 27
#define RK_PD4 28
#define RK_PD5 29
#define RK_PD6 30
#define RK_PD7 31
#define RK_FUNC_GPIO 0
//PCA953X
#define PCA_IO0_0 0
#define PCA_IO0_1 1
#define PCA_IO0_2 2
#define PCA_IO0_3 3
#define PCA_IO0_4 4
#define PCA_IO0_5 5
#define PCA_IO0_6 6
#define PCA_IO0_7 7
#define PCA_IO1_0 8
#define PCA_IO1_1 9
#define PCA_IO1_2 10
#define PCA_IO1_3 11
#define PCA_IO1_4 12
#define PCA_IO1_5 13
#define PCA_IO1_6 14
#define PCA_IO1_7 15
#endif

4、【可选:】
Y:\new_disk_4t\RK3576_Android14.0_SDK_RELEASE\device\rockchip\rk3576\rk3576_u\BoardConfig.mk
#
# Copyright 2023 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
BUILD_WITH_GO_OPT := false
BOARD_BUILD_GKI := false
BOARD_GRAVITY_SENSOR_SUPPORT := true
BOARD_COMPASS_SENSOR_SUPPORT := true
BOARD_SENSOR_COMPASS_AK8963-64 := true
BOARD_GYROSCOPE_SENSOR_SUPPORT := true
BOARD_PROXIMITY_SENSOR_SUPPORT := true
BOARD_LIGHT_SENSOR_SUPPORT := true
PRODUCT_KERNEL_DTS := rk3576-evb1-v10
PRODUCT_KERNEL_CONFIG += pcie_wifi.config
BOARD_GSENSOR_MXC6655XA_SUPPORT := true
BOARD_CAMERA_SUPPORT_EXT := true
BOARD_HS_ETHERNET := true
include device/rockchip/rk3576/BoardConfig.mk
Z:\proj\RK3576_Android14.0\device\rockchip\rk3576\rk3576_firefly_aio_3576q38\BoardConfig.mk
#
# Copyright 2023 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
include device/rockchip/rk3576/BoardConfig.mk
BUILD_WITH_GO_OPT := false
BOARD_BUILD_GKI := false
BOARD_GRAVITY_SENSOR_SUPPORT := true
BOARD_COMPASS_SENSOR_SUPPORT := true
BOARD_SENSOR_COMPASS_AK8963-64 := true
BOARD_GYROSCOPE_SENSOR_SUPPORT := true
BOARD_PROXIMITY_SENSOR_SUPPORT := true
BOARD_LIGHT_SENSOR_SUPPORT := true
PRODUCT_KERNEL_DTS := rk3576-firefly-aio-3576q38
BOARD_GSENSOR_MXC6655XA_SUPPORT := true
BOARD_CAMERA_SUPPORT_EXT := true
BOARD_HS_ETHERNET := true
BOARD_CONNECTIVITY_VENDOR := Rockchip




