1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Device Tree file for Freescale LS1012A QDS 3 * Device Tree file for Freescale LS1012A QDS Board. 4 * 4 * 5 * Copyright 2016 Freescale Semiconductor, Inc 5 * Copyright 2016 Freescale Semiconductor, Inc. 6 * 6 * 7 */ 7 */ 8 /dts-v1/; 8 /dts-v1/; 9 9 10 #include "fsl-ls1012a.dtsi" 10 #include "fsl-ls1012a.dtsi" 11 11 12 / { 12 / { 13 model = "LS1012A QDS Board"; 13 model = "LS1012A QDS Board"; 14 compatible = "fsl,ls1012a-qds", "fsl,l 14 compatible = "fsl,ls1012a-qds", "fsl,ls1012a"; 15 15 16 aliases { 16 aliases { 17 mmc0 = &esdhc0; 17 mmc0 = &esdhc0; 18 mmc1 = &esdhc1; 18 mmc1 = &esdhc1; 19 }; 19 }; 20 20 21 sys_mclk: clock-mclk { 21 sys_mclk: clock-mclk { 22 compatible = "fixed-clock"; 22 compatible = "fixed-clock"; 23 #clock-cells = <0>; 23 #clock-cells = <0>; 24 clock-frequency = <24576000>; 24 clock-frequency = <24576000>; 25 }; 25 }; 26 26 27 reg_3p3v: regulator-3p3v { 27 reg_3p3v: regulator-3p3v { 28 compatible = "regulator-fixed" 28 compatible = "regulator-fixed"; 29 regulator-name = "3P3V"; 29 regulator-name = "3P3V"; 30 regulator-min-microvolt = <330 30 regulator-min-microvolt = <3300000>; 31 regulator-max-microvolt = <330 31 regulator-max-microvolt = <3300000>; 32 regulator-always-on; 32 regulator-always-on; 33 }; 33 }; 34 34 35 sound { 35 sound { 36 compatible = "simple-audio-car 36 compatible = "simple-audio-card"; 37 simple-audio-card,format = "i2 37 simple-audio-card,format = "i2s"; 38 simple-audio-card,widgets = 38 simple-audio-card,widgets = 39 "Microphone", "Microph 39 "Microphone", "Microphone Jack", 40 "Headphone", "Headphon 40 "Headphone", "Headphone Jack", 41 "Speaker", "Speaker Ex 41 "Speaker", "Speaker Ext", 42 "Line", "Line In Jack" 42 "Line", "Line In Jack"; 43 simple-audio-card,routing = 43 simple-audio-card,routing = 44 "MIC_IN", "Microphone 44 "MIC_IN", "Microphone Jack", 45 "Microphone Jack", "Mi 45 "Microphone Jack", "Mic Bias", 46 "LINE_IN", "Line In Ja 46 "LINE_IN", "Line In Jack", 47 "Headphone Jack", "HP_ 47 "Headphone Jack", "HP_OUT", 48 "Speaker Ext", "LINE_O 48 "Speaker Ext", "LINE_OUT"; 49 49 50 simple-audio-card,cpu { 50 simple-audio-card,cpu { 51 sound-dai = <&sai2>; 51 sound-dai = <&sai2>; 52 frame-master; 52 frame-master; 53 bitclock-master; 53 bitclock-master; 54 }; 54 }; 55 55 56 simple-audio-card,codec { 56 simple-audio-card,codec { 57 sound-dai = <&codec>; 57 sound-dai = <&codec>; 58 frame-master; 58 frame-master; 59 bitclock-master; 59 bitclock-master; 60 system-clock-frequency 60 system-clock-frequency = <24576000>; 61 }; 61 }; 62 }; 62 }; 63 }; 63 }; 64 64 65 &dspi { 65 &dspi { 66 bus-num = <0>; 66 bus-num = <0>; 67 status = "okay"; 67 status = "okay"; 68 68 69 flash@0 { 69 flash@0 { 70 #address-cells = <1>; 70 #address-cells = <1>; 71 #size-cells = <1>; 71 #size-cells = <1>; 72 compatible = "micron,n25q128a1 72 compatible = "micron,n25q128a11", "jedec,spi-nor"; 73 reg = <0>; 73 reg = <0>; 74 spi-max-frequency = <10000000> 74 spi-max-frequency = <10000000>; 75 }; 75 }; 76 76 77 flash@1 { 77 flash@1 { 78 #address-cells = <1>; 78 #address-cells = <1>; 79 #size-cells = <1>; 79 #size-cells = <1>; 80 compatible = "sst25wf040b", "j 80 compatible = "sst25wf040b", "jedec,spi-nor"; 81 spi-cpol; 81 spi-cpol; 82 spi-cpha; 82 spi-cpha; 83 reg = <1>; 83 reg = <1>; 84 spi-max-frequency = <10000000> 84 spi-max-frequency = <10000000>; 85 }; 85 }; 86 86 87 flash@2 { 87 flash@2 { 88 #address-cells = <1>; 88 #address-cells = <1>; 89 #size-cells = <1>; 89 #size-cells = <1>; 90 compatible = "en25s64", "jedec 90 compatible = "en25s64", "jedec,spi-nor"; 91 spi-cpol; 91 spi-cpol; 92 spi-cpha; 92 spi-cpha; 93 reg = <2>; 93 reg = <2>; 94 spi-max-frequency = <10000000> 94 spi-max-frequency = <10000000>; 95 }; 95 }; 96 }; 96 }; 97 97 98 &duart0 { 98 &duart0 { 99 status = "okay"; 99 status = "okay"; 100 }; 100 }; 101 101 102 &esdhc0 { 102 &esdhc0 { 103 status = "okay"; 103 status = "okay"; 104 }; 104 }; 105 105 106 &esdhc1 { 106 &esdhc1 { 107 status = "okay"; 107 status = "okay"; 108 }; 108 }; 109 109 110 &i2c0 { 110 &i2c0 { 111 status = "okay"; 111 status = "okay"; 112 112 113 i2c-mux@77 { 113 i2c-mux@77 { 114 compatible = "nxp,pca9547"; 114 compatible = "nxp,pca9547"; 115 reg = <0x77>; 115 reg = <0x77>; 116 #address-cells = <1>; 116 #address-cells = <1>; 117 #size-cells = <0>; 117 #size-cells = <0>; 118 118 119 i2c@4 { 119 i2c@4 { 120 #address-cells = <1>; 120 #address-cells = <1>; 121 #size-cells = <0>; 121 #size-cells = <0>; 122 reg = <0x4>; 122 reg = <0x4>; 123 123 124 codec: sgtl5000@a { 124 codec: sgtl5000@a { 125 #sound-dai-cel 125 #sound-dai-cells = <0>; 126 compatible = " 126 compatible = "fsl,sgtl5000"; 127 reg = <0xa>; 127 reg = <0xa>; 128 VDDA-supply = 128 VDDA-supply = <®_3p3v>; 129 VDDIO-supply = 129 VDDIO-supply = <®_3p3v>; 130 clocks = <&sys 130 clocks = <&sys_mclk>; 131 }; 131 }; 132 }; 132 }; 133 }; 133 }; 134 }; 134 }; 135 135 136 &qspi { 136 &qspi { 137 status = "okay"; 137 status = "okay"; 138 138 139 s25fs512s0: flash@0 { 139 s25fs512s0: flash@0 { 140 compatible = "jedec,spi-nor"; 140 compatible = "jedec,spi-nor"; 141 #address-cells = <1>; 141 #address-cells = <1>; 142 #size-cells = <1>; 142 #size-cells = <1>; 143 spi-max-frequency = <50000000> 143 spi-max-frequency = <50000000>; 144 m25p,fast-read; 144 m25p,fast-read; 145 reg = <0>; 145 reg = <0>; 146 spi-rx-bus-width = <2>; 146 spi-rx-bus-width = <2>; 147 spi-tx-bus-width = <2>; 147 spi-tx-bus-width = <2>; 148 }; 148 }; 149 }; 149 }; 150 150 151 &sai2 { 151 &sai2 { 152 status = "okay"; 152 status = "okay"; 153 }; 153 }; 154 154 155 &sata { 155 &sata { 156 status = "okay"; 156 status = "okay"; 157 }; 157 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.