Firefly开源社区
标题:
麻烦提供PX3SE主板原理图
[打印本页]
作者:
caolingfeng
时间:
2018-6-28 14:39
标题:
麻烦提供PX3SE主板原理图
我t-firefly的网上只找到核心板的原理图,没有整个主板的原理图,麻烦能不能提供一下主板的原理图,以便实现SPI数据通信,
我用的是spi0--mux0,片选:CS1,gpio口分别为:SPI_CLK--->GPIO1_B0,SPI_TXD--->GPIO1_B1,SPI_RXD--->GPIO1_B2,SPI_CSN1--->GPIO1_B4
gpio1_spi0 {
spi0_txd_mux0:spi0-txd-mux0 {
rockchip,pins = <SPI0_TXD_MUX0>;
rockchip,pull = <VALUE_PULL_DEFAULT>;
};
spi0_rxd_mux0:spi0-rxd-mux0 {
rockchip,pins = <SPI0_RXD_MUX0>;
rockchip,pull = <VALUE_PULL_DEFAULT>;
};
spi0_clk_mux0:spi0-clk-mux0 {
rockchip,pins = <SPI0_CLK_MUX0>;
rockchip,pull = <VALUE_PULL_DEFAULT>;
};
spi0_cs1_mux0:spi0-cs1-mux0 {
rockchip,pins = <SPI0_CS1_MUX0>;
rockchip,pull = <VALUE_PULL_DEFAULT>;
};
在arch\arm\boot\dts\pxpx3se-fireprime.dts文件中发现,spi0的TXD和RXD和蓝牙有复用,BT,wake_gpio = <&gpio1 GPIO_B2 GPIO_ACTIVE_HIGH>;
BT,wake_host_irq = <&gpio1 GPIO_B1 GPIO_ACTIVE_HIGH>;wifi暂时还没发现有复用的引脚如下所示:
wireless-bluetooth {
compatible = "bluetooth-platdata";
//wifi-bt-power-toggle;
//keep_bt_power_on;
uart_rts_gpios = <&gpio0 GPIO_C1 GPIO_ACTIVE_LOW>;
pinctrl-names = "default","rts_gpio";
pinctrl-0 = <&uart0_rts>;
pinctrl-1 = <&uart0_rts_gpio>;
//BT,power_gpio = <&gpio1 GPIO_B3 GPIO_ACTIVE_HIGH>;
BT,reset_gpio = <&gpio1 GPIO_A3 GPIO_ACTIVE_HIGH>;
BT,wake_gpio = <&gpio1 GPIO_B2 GPIO_ACTIVE_HIGH>;
BT,wake_host_irq = <&gpio1 GPIO_B1 GPIO_ACTIVE_HIGH>;
status = "okay";
};
wireless-wlan {
compatible = "wlan-platdata";
wifi_chip_type = "bcmwifi";
sdio_vref = <3300>; /*1800mv or 3300mv*/
/* WIFI_HOST_WAKE = GPIO0_A2 */
WIFI,host_wake_irq = <&gpio0 GPIO_A2 GPIO_ACTIVE_HIGH>;
/* WIFI_REG_ON = GPIO1_B3 */
WIFI,poweren_gpio = <&gpio1 GPIO_B3 GPIO_ACTIVE_HIGH>;
status = "okay";
};
麻烦帮忙确认一下软件部分是不是,把蓝牙和wifi功能禁用就可以了,还需提供一下主板原理图以便修改硬件部分,多谢了!
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/)
Powered by Discuz! X3.1