status = "okay";
};
-&spi0 {
- status = "okay";
- max-freq = <48000000>;
- /*
- spi_test@00 {
- compatible = "rockchip,spi_test_bus0_cs0";
- reg = <0>;
- spi-max-frequency = <24000000>;
- //spi-cpha;
- //spi-cpol;
- poll_mode = <0>;
- type = <0>;
- enable_dma = <0>;
-
- };
-
- spi_test@01 {
- compatible = "rockchip,spi_test_bus0_cs1";
- reg = <1>;
- spi-max-frequency = <24000000>;
- spi-cpha;
- spi-cpol;
- poll_mode = <0>;
- type = <0>;
- enable_dma = <0>;
- };
- */
-};
-
&uart0 {
status = "okay";
dma-names = "!tx", "!rx";
status = "okay";
};
-&spi0 {
- status = "okay";
- max-freq = <48000000>;
- /*
- spi_test@00 {
- compatible = "rockchip,spi_test_bus0_cs0";
- reg = <0>;
- spi-max-frequency = <24000000>;
- //spi-cpha;
- //spi-cpol;
- poll_mode = <0>;
- type = <0>;
- enable_dma = <0>;
-
- };
-
- spi_test@01 {
- compatible = "rockchip,spi_test_bus0_cs1";
- reg = <1>;
- spi-max-frequency = <24000000>;
- spi-cpha;
- spi-cpol;
- poll_mode = <0>;
- type = <0>;
- enable_dma = <0>;
- };
- */
-};
-
&uart0 {
status = "okay";
dma-names = "!tx", "!rx";
pinctrl-names = "default", "gpio";
pinctrl-0 = <&i2c0_sda &i2c0_scl>;
pinctrl-1 = <&i2c0_gpio>;
- gpios = <&gpio0 GPIO_B7 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_C0 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio0 GPIO_A1 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_A0 GPIO_ACTIVE_LOW>;
clocks = <&clk_gates8 4>;
rockchip,check-idle = <1>;
status = "disabled";
interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
- //pinctrl-names = "default", "gpio";
- //pinctrl-0 = <&i2c1_sda &i2c1_scl>;
- //pinctrl-1 = <&i2c1_gpio>;
- //gpios = <&gpio8 GPIO_A4 GPIO_ACTIVE_LOW>, <&gpio8 GPIO_A5 GPIO_ACTIVE_LOW>;
+ pinctrl-names = "default", "gpio";
+ pinctrl-0 = <&i2c1_sda &i2c1_scl>;
+ pinctrl-1 = <&i2c1_gpio>;
+ gpios = <&gpio0 GPIO_A3 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
clocks = <&clk_gates8 5>;
rockchip,check-idle = <1>;
status = "disabled";
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
- //pinctrl-names = "default", "gpio";
- //pinctrl-0 = <&i2c2_sda &i2c2_scl>;
- //pinctrl-1 = <&i2c2_gpio>;
- //gpios = <&gpio6 GPIO_B1 GPIO_ACTIVE_LOW>, <&gpio6 GPIO_B2 GPIO_ACTIVE_LOW>;
+ pinctrl-names = "default", "gpio";
+ pinctrl-0 = <&i2c2_sda &i2c2_scl>;
+ pinctrl-1 = <&i2c2_gpio>;
+ gpios = <&gpio2 GPIO_C4 GPIO_ACTIVE_LOW>, <&gpio2 GPIO_C5 GPIO_ACTIVE_LOW>;
clocks = <&clk_gates8 6>;
rockchip,check-idle = <1>;
status = "disabled";