dts备份

1,

/include/ "system-conf.dtsi"

/ {
	model = "DTS Board";

	leds {
		compatible = "gpio-leds";

		led@0 {
			label = "ps_led0";
			gpios = <&gpio0 0 0>;
			linux,default-trigger = "heartbeat";
			default-state = "on";
		};
	};

	keys {
		compatible = "gpio-keys";
		autorepeat;

		net_reset {
			label = "net_reset";
			linux,code = <28>;
			gpios = <&gpio0 40 1>;	/* 低有效 */
			debounce-interval = <15>;
			autorepeat;
		};
	};

	pl-regs {
		compatible = "cqyt, pl_regs";

		interrupt-parent = <&intc>;
		interrupts = <0 29 4>;
		reg = <0x83C00000 0x0200>;
	};



};

&gem0 {
	status = "okay";
	phy-mode = "rgmii-rxid";
	phy-handle = <ðernet_phy>;

	ethernet_phy: ethernet-phy@0 {
		reg = <0>;
		device_type = "ethernet-phy";
	};
};

&i2c0 {
	status = "okay";

	at24c64: at24c64@50 {
		compatible = "atmel,24c64";
		reg = <0x50>;
	};
};

&i2c1 {
	status = "okay";

	pcf8563: pcf8563@51 {
		compatible = "nxp,pcf8563";
		reg = <0x51>;	//PCF8563地址
	};
};



2,

/include/ "system-conf.dtsi"

/ {
	model = "DTS Board";
	model = "Alientek Navigator Zynq Development Board";
	compatible = "xlnx,zynq-zc702", "xlnx,zynq-7000";

	aliases {
	ethernet0 = &gem0;
	} ;

};

&gem0 {
	status = "okay";
	phy-mode = "rgmii-rxid";
	phy-handle = <ðernet_phy>;

	ethernet_phy: ethernet-phy@0 {
		reg = <0>;
		device_type = "ethernet-phy";
	};
};





3,

/include/ "system-conf.dtsi"
#include 

/ {

        	model = "Alientek Navigator Zynq Development Board";
		compatible = "xlnx,zynq-zc702", "xlnx,zynq-7000";

		chosen {
		bootargs = "earlycon";
		stdout-path = "serial0:115200n8";
		};
		aliases {
			i2c13 = &AXI_IIC_9698LED;
			i2c14 = &i2c0;
			i2c15 = &i2c1;
			i2c16 = &AXI_IIC_4461CH1;
			i2c7 = &AXI_IIC_9535CH1;
			serial0 = &uart0;
			spi0 = &qspi;
			spi1 = &spi0;
		};



               

};





 &AXI_IIC_9698LED
    {
	pca9698: pca9698@40{ 
	clock-frequency = <100000>;
        compatible = "nxp,pca9505";
        interrupts = <0 56 4>;
	reg = <0x40>;
        };

   };
 
 &AXI_IIC_9535CH1{
        gpio@21{
		compatible = "nxp,pca9535";
		reg = <0x21>;
         	gpio-controller;
	};
    };





&AXI_IIC_4461CH1{
        compatible = "cdns,i2c-r1p10";
	interrupts = <0 30 4>;
	reg = <0x41600000 0x1000>;
};



&i2c0 {
    clock-frequency = <100000>;

    eeprom@50 {
        compatible = "atmel,24c64";
        reg = <0x50>;
        pagesize = <32>;
    };


};

&i2c1{
    clock-frequency = <100000>;
    rtc@68{
        compatible = "nxp,pcf8563";
        reg = <0x68>;
    };
};

&qspi {
	u-boot,dm-pre-reloc;
};



&spi0 
{




    st7789v@0 
    {
        status = "okay";
        compatible = "sitronix,st7789v";
       	reg = <0>;
       	spi-max-frequency =<32000000>;        //SPI时钟32M
       	rotate =<270>;
       	spi-cpol;
       	spi-cpha;
       	rgb;                           //颜色格式RGB
       	fps =<30>;                      //刷新30帧率
       	buswidth =<8>;                   //总线宽度8
        reset-gpios=<&gpio0 55 GPIO_ACTIVE_LOW>;   //EMIO  
       	dc-gpios  =<&gpio0 56 GPIO_ACTIVE_HIGH>;   //EMIO ?
        cs-gpios = <&gpio0 54 GPIO_ACTIVE_LOW>;

	width = <240>;
        height= <320>;
       	debug =<0>;                     //不开启调试
        };
};

4,

你可能感兴趣的:(待定专栏,linux,运维,服务器)