/ { fpga_axi: fpga-axi@0 { compatible = "simple-bus"; #address-cells = <0x1>; #size-cells = <0x1>; ranges; regulators { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <0>; reg_2p5v: regulator@0 { compatible = "regulator-fixed"; reg = <0>; regulator-name = "2P5V"; regulator-min-microvolt = <2500000>; regulator-max-microvolt = <2500000>; }; reg_3p3v: regulator@1 { compatible = "regulator-fixed"; reg = <1>; regulator-name = "3P3V"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; }; }; sound { compatible = "fsl,imx51-babbage-sgtl5000", "fsl,imx-audio-sgtl5000"; model = "imx51-babbage-sgtl5000"; ssi-controller = <&axi_i2s_adi_0>; audio-codec = <&codec>; audio-routing = "MIC_IN", "Mic Jack", "Mic Jack", "Mic Bias", "Headphone Jack", "HP_OUT"; mux-int-port = <1>; mux-ext-port = <3>; }; xilinx_pcm_audio: xilinx_pcm_audio { compatible = "xilinx-pcm-audio"; #size-cells = <0>; #address-cells = <1>; stream@0 { reg = <0>; /* dma-request = <&ps7_dma 0>; */ }; }; axi_iic_0: i2c@41600000 { compatible = "xlnx,axi-iic-1.01.b", "xlnx,xps-iic-2.00.a"; interrupt-parent = <&gic>; interrupts = <0 58 0x4>; reg = <0x41600000 0x10000>; #size-cells = <0>; #address-cells = <1>; adv7511: adv7511@39 { compatible = "adi,adv7511"; reg = <0x39>; adi,input-style = <0x02>; adi,input-id = <0x01>; adi,input-color-depth = <0x3>; adi,sync-pulse = <0x03>; adi,bit-justification = <0x01>; adi,up-conversion = <0x00>; adi,timing-generation-sequence = <0x00>; adi,vsync-polarity = <0x02>; adi,hsync-polarity = <0x02>; adi,tdms-clock-inversion; adi,clock-delay = <0x03>; }; }; axi_iic_sgtl: i2c_1@41610000 { #address-cells = <1>; #size-cells = <0>; compatible = "xlnx,xps-iic-2.00.a"; interrupt-parent = <&gic>; interrupts = <0 57 4>; reg = <0x41610000 0x10000>; codec: sgtl5000@03a { #sound-dai-cells = <0>; compatible = "fsl,sgtl5000"; reg = <0x0a>; VDDA-supply = <®_3p3v>; VDDIO-supply = <®_3p3v>; clocks = <&clkc 19>; }; }; /* i2c_sgtl@41610000 { compatible = "xlnx,axi-iic-1.01.b", "xlnx,xps-iic-2.00.a"; interrupt-parent = <&gic>; interrupts = <0 57 0x4>; reg = <0x41610000 0x10000>; #size-cells = <0>; #address-cells = <1>; // codec: sgtl5000@03a { // #sound-dai-cells = <0>; // compatible = "fsl,sgtl5000"; // reg = <0x0a>; //// VDDA-supply = <®_3p3v>; //// VDDIO-supply = <®_3p3v>; // clocks = <&clkc 19>; // }; }; */ axi_vdma_0: axivdma@43000000 { #address-cells = <1>; #size-cells = <1>; #dma-cells = <1>; compatible = "xlnx,axi-vdma"; reg = <0x43000000 0x1000>; xlnx,include-sg = <0x0>; xlnx,num-fstores = <0x3>; dma-channel@43000000 { compatible = "xlnx,axi-vdma-mm2s-channel"; interrupts = <0 59 0x4>; xlnx,datawidth = <0x40>; xlnx,genlock-mode = <0x0>; xlnx,include-dre = <0x0>; }; }; hdmi_clock: axi-clkgen@79000000 { compatible = "adi,axi-clkgen-2.00.a"; reg = <0x79000000 0x10000>; #clock-cells = <0>; clocks = <&clkc 16>; }; axi_hdmi@70e00000 { compatible = "adi,axi-hdmi-tx-1.00.a"; reg = <0x70e00000 0x10000>; encoder-slave = <&adv7511>; dmas = <&axi_vdma_0 0>; dma-names = "video"; clocks = <&hdmi_clock>; }; audio_clock: audio_clock { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <12288000>; }; axi_pcie_0: axi-pcie@50000000 { #address-cells = <3>; #size-cells = <2>; compatible = "xlnx,axi-pcie-1.05.a"; interrupt-parent = <&gic>; interrupts = <0 56 4>; ranges = <0x02000000 0x00000000 0x60000000 0x60000000 0x00000000 0x10000000>; reg = <0x50000000 0x10000000>; xlnx,include-rc = <0x1>; xlnx,pciebar-num = <0x1>; xlnx,pciebar2axibar-0 = <0x00000000>; xlnx,pciebar2axibar-1 = <0xFFFFFFFF>; } ; axi_spdif_tx_0: axi-spdif-tx@0x75c00000 { compatible = "adi,axi-spdif-tx-1.00.a"; reg = <0x75c00000 0x1000>; dmas = <&ps7_dma 0>; dma-names = "tx"; clocks = <&clkc 15>, <&audio_clock>, <&audio_clock>; clock-names = "axi", "ref", "spdif"; }; adv7511_hdmi_snd: adv7511_hdmi_snd { compatible = "adv7511-hdmi-snd"; audio-codec = <&adv7511>; //audio-codec-adapter = <&axi_iic_0>; cpu-dai = <&axi_spdif_tx_0>; pcm = <&xilinx_pcm_audio>; }; axi_i2s_adi_0: axi_i2s_adi@77600000 { compatible = "xlnx,axi-i2s-adi-1.0"; reg = <0x77600000 0x10000>; xlnx,bclk-pol = <0x0>; xlnx,dma-type = <0x1>; xlnx,has-rx = <0x1>; xlnx,has-tx = <0x1>; xlnx,lrclk-pol = <0x0>; xlnx,num-ch = <0x1>; xlnx,s-axi-min-size = <0x000001FF>; xlnx,slot-width = <0x18>; }; /* axi_i2s_0: axi-i2s@0x77600000 { compatible = "adi,axi-i2s-1.00.a"; reg = <0x77600000 0x1000>; dmas = <&ps7_dma 1 &ps7_dma 2>; dma-names = "tx", "rx"; clocks = <&clkc 19>, <&audio_clock>, <&audio_clock>; clock-names = "axi", "ref", "i2s"; }; aldec_sound: aldec_sound { //compatible = "digilent,zed-sound"; audio-codec = <&codec>; cpu-dai = <&axi_i2s_adi_0>; }; */ }; };