17a2aeb91SLi Yang// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2ba321360SHarninder Rai/* 3ba321360SHarninder Rai * Device Tree file for Freescale LS1012A QDS Board. 4ba321360SHarninder Rai * 58637f58bSLi Yang * Copyright 2016 Freescale Semiconductor, Inc. 6ba321360SHarninder Rai * 7ba321360SHarninder Rai */ 8ba321360SHarninder Rai/dts-v1/; 9ba321360SHarninder Rai 10ba321360SHarninder Rai#include "fsl-ls1012a.dtsi" 11ba321360SHarninder Rai 12ba321360SHarninder Rai/ { 13ba321360SHarninder Rai model = "LS1012A QDS Board"; 14ba321360SHarninder Rai compatible = "fsl,ls1012a-qds", "fsl,ls1012a"; 15ba321360SHarninder Rai 16ba321360SHarninder Rai sys_mclk: clock-mclk { 17ba321360SHarninder Rai compatible = "fixed-clock"; 18ba321360SHarninder Rai #clock-cells = <0>; 19ba321360SHarninder Rai clock-frequency = <24576000>; 20ba321360SHarninder Rai }; 21ba321360SHarninder Rai 22ba321360SHarninder Rai reg_3p3v: regulator-3p3v { 23ba321360SHarninder Rai compatible = "regulator-fixed"; 24ba321360SHarninder Rai regulator-name = "3P3V"; 25ba321360SHarninder Rai regulator-min-microvolt = <3300000>; 26ba321360SHarninder Rai regulator-max-microvolt = <3300000>; 27ba321360SHarninder Rai regulator-always-on; 28ba321360SHarninder Rai }; 29ba321360SHarninder Rai 30ba321360SHarninder Rai sound { 31ba321360SHarninder Rai compatible = "simple-audio-card"; 32ba321360SHarninder Rai simple-audio-card,format = "i2s"; 33ba321360SHarninder Rai simple-audio-card,widgets = 34ba321360SHarninder Rai "Microphone", "Microphone Jack", 35ba321360SHarninder Rai "Headphone", "Headphone Jack", 36ba321360SHarninder Rai "Speaker", "Speaker Ext", 37ba321360SHarninder Rai "Line", "Line In Jack"; 38ba321360SHarninder Rai simple-audio-card,routing = 39ba321360SHarninder Rai "MIC_IN", "Microphone Jack", 40ba321360SHarninder Rai "Microphone Jack", "Mic Bias", 41ba321360SHarninder Rai "LINE_IN", "Line In Jack", 42ba321360SHarninder Rai "Headphone Jack", "HP_OUT", 43ba321360SHarninder Rai "Speaker Ext", "LINE_OUT"; 44ba321360SHarninder Rai 45ba321360SHarninder Rai simple-audio-card,cpu { 46ba321360SHarninder Rai sound-dai = <&sai2>; 47ba321360SHarninder Rai frame-master; 48ba321360SHarninder Rai bitclock-master; 49ba321360SHarninder Rai }; 50ba321360SHarninder Rai 51ba321360SHarninder Rai simple-audio-card,codec { 52ba321360SHarninder Rai sound-dai = <&codec>; 53ba321360SHarninder Rai frame-master; 54ba321360SHarninder Rai bitclock-master; 55ba321360SHarninder Rai system-clock-frequency = <24576000>; 56ba321360SHarninder Rai }; 57ba321360SHarninder Rai }; 58ba321360SHarninder Rai}; 59ba321360SHarninder Rai 60519de51cSYuan Yao&dspi { 61519de51cSYuan Yao bus-num = <0>; 62519de51cSYuan Yao status = "okay"; 63519de51cSYuan Yao 64519de51cSYuan Yao flash@0 { 65519de51cSYuan Yao #address-cells = <1>; 66519de51cSYuan Yao #size-cells = <1>; 67519de51cSYuan Yao compatible = "n25q128a11", "jedec,spi-nor"; 68519de51cSYuan Yao reg = <0>; 69519de51cSYuan Yao spi-max-frequency = <10000000>; 70519de51cSYuan Yao }; 71519de51cSYuan Yao 72519de51cSYuan Yao flash@1 { 73519de51cSYuan Yao #address-cells = <1>; 74519de51cSYuan Yao #size-cells = <1>; 75519de51cSYuan Yao compatible = "sst25wf040b", "jedec,spi-nor"; 76519de51cSYuan Yao spi-cpol; 77519de51cSYuan Yao spi-cpha; 78519de51cSYuan Yao reg = <1>; 79519de51cSYuan Yao spi-max-frequency = <10000000>; 80519de51cSYuan Yao }; 81519de51cSYuan Yao 82519de51cSYuan Yao flash@2 { 83519de51cSYuan Yao #address-cells = <1>; 84519de51cSYuan Yao #size-cells = <1>; 85519de51cSYuan Yao compatible = "en25s64", "jedec,spi-nor"; 86519de51cSYuan Yao spi-cpol; 87519de51cSYuan Yao spi-cpha; 88519de51cSYuan Yao reg = <2>; 89519de51cSYuan Yao spi-max-frequency = <10000000>; 90519de51cSYuan Yao }; 91519de51cSYuan Yao}; 92519de51cSYuan Yao 93ba321360SHarninder Rai&duart0 { 94ba321360SHarninder Rai status = "okay"; 95ba321360SHarninder Rai}; 96ba321360SHarninder Rai 970f098701SYangbo Lu&esdhc0 { 980f098701SYangbo Lu status = "okay"; 990f098701SYangbo Lu}; 1000f098701SYangbo Lu 1010f098701SYangbo Lu&esdhc1 { 1020f098701SYangbo Lu status = "okay"; 1030f098701SYangbo Lu}; 1040f098701SYangbo Lu 105ba321360SHarninder Rai&i2c0 { 106ba321360SHarninder Rai status = "okay"; 107ba321360SHarninder Rai 108ba321360SHarninder Rai pca9547@77 { 109ba321360SHarninder Rai compatible = "nxp,pca9547"; 110ba321360SHarninder Rai reg = <0x77>; 111ba321360SHarninder Rai #address-cells = <1>; 112ba321360SHarninder Rai #size-cells = <0>; 113ba321360SHarninder Rai 114ba321360SHarninder Rai i2c@4 { 115ba321360SHarninder Rai #address-cells = <1>; 116ba321360SHarninder Rai #size-cells = <0>; 117ba321360SHarninder Rai reg = <0x4>; 118ba321360SHarninder Rai 119ba321360SHarninder Rai codec: sgtl5000@a { 120ba321360SHarninder Rai #sound-dai-cells = <0>; 121ba321360SHarninder Rai compatible = "fsl,sgtl5000"; 122ba321360SHarninder Rai reg = <0xa>; 123ba321360SHarninder Rai VDDA-supply = <®_3p3v>; 124ba321360SHarninder Rai VDDIO-supply = <®_3p3v>; 125ba321360SHarninder Rai clocks = <&sys_mclk>; 126ba321360SHarninder Rai }; 127ba321360SHarninder Rai }; 128ba321360SHarninder Rai }; 129ba321360SHarninder Rai}; 130ba321360SHarninder Rai 131*f5ac5ac1SKuldeep Singh&qspi { 132*f5ac5ac1SKuldeep Singh status = "okay"; 133*f5ac5ac1SKuldeep Singh 134*f5ac5ac1SKuldeep Singh s25fs512s0: flash@0 { 135*f5ac5ac1SKuldeep Singh compatible = "jedec,spi-nor"; 136*f5ac5ac1SKuldeep Singh #address-cells = <1>; 137*f5ac5ac1SKuldeep Singh #size-cells = <1>; 138*f5ac5ac1SKuldeep Singh spi-max-frequency = <50000000>; 139*f5ac5ac1SKuldeep Singh m25p,fast-read; 140*f5ac5ac1SKuldeep Singh reg = <0>; 141*f5ac5ac1SKuldeep Singh spi-rx-bus-width = <2>; 142*f5ac5ac1SKuldeep Singh spi-tx-bus-width = <2>; 143*f5ac5ac1SKuldeep Singh }; 144*f5ac5ac1SKuldeep Singh}; 145*f5ac5ac1SKuldeep Singh 146ba321360SHarninder Rai&sai2 { 147ba321360SHarninder Rai status = "okay"; 148ba321360SHarninder Rai}; 149427700a7SYuantian Tang 150427700a7SYuantian Tang&sata { 151427700a7SYuantian Tang status = "okay"; 152427700a7SYuantian Tang}; 153