2019-04-06 21:08:09 +08:00
|
|
|
/* SPDX-License-Identifier: Apache-2.0 */
|
|
|
|
|
2018-03-21 22:28:06 +08:00
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "intel_s1000.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "intel_s1000_crb";
|
|
|
|
compatible = "intel,s1000";
|
|
|
|
|
|
|
|
aliases {
|
2019-01-26 10:56:48 +08:00
|
|
|
uart-0 = &uart0;
|
2018-03-21 22:28:06 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,console = &uart0;
|
2018-11-27 19:11:04 +08:00
|
|
|
zephyr,shell-uart = &uart0;
|
2018-12-05 01:34:53 +08:00
|
|
|
zephyr,flash = &flash0;
|
2018-03-21 22:28:06 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart0 {
|
|
|
|
status = "ok";
|
|
|
|
current-speed = <115200>;
|
|
|
|
};
|
|
|
|
|
2018-03-28 07:27:36 +08:00
|
|
|
&i2c0 {
|
|
|
|
status = "ok";
|
|
|
|
clock-frequency = <I2C_BITRATE_FAST>;
|
2018-07-27 00:30:41 +08:00
|
|
|
|
|
|
|
codec0: tlv320dac@18 {
|
|
|
|
compatible = "ti,tlv320dac";
|
|
|
|
reg = <0x18>;
|
|
|
|
label = "TLV320DAC";
|
2019-01-08 01:10:43 +08:00
|
|
|
reset-gpios = <&gpio0 4 GPIO_DIR_OUT>;
|
2018-07-27 00:30:41 +08:00
|
|
|
};
|
2018-03-28 07:27:36 +08:00
|
|
|
};
|
2018-11-06 13:06:17 +08:00
|
|
|
|
|
|
|
&spi0 {
|
|
|
|
status = "ok";
|
|
|
|
|
2018-12-05 01:34:53 +08:00
|
|
|
flash0: flash@0 {
|
2019-01-30 00:45:59 +08:00
|
|
|
compatible = "jedec,spi-nor";
|
2018-12-05 01:34:53 +08:00
|
|
|
reg = <0>;
|
2018-11-06 13:06:17 +08:00
|
|
|
spi-max-frequency = <2000000>;
|
2019-01-30 00:45:59 +08:00
|
|
|
label = "MX25UM512";
|
|
|
|
jedec-id = <0xc2 0x80 0x3a>;
|
|
|
|
size = <0x2000000>;
|
2019-02-03 12:27:21 +08:00
|
|
|
erase-block-size = <0x10000>;
|
|
|
|
write-block-size = <1>;
|
2018-12-05 01:34:53 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&flash0 {
|
|
|
|
partitions {
|
|
|
|
compatible = "fixed-partitions";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
/* The flash is 64MB in size. Each sector is 4kB and
|
|
|
|
* 16 sectors make a block (64kB). The flash is partitioned
|
|
|
|
* in terms of blocks.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Reserve 192kB for the bootloader */
|
|
|
|
boot_partition: partition@0 {
|
|
|
|
label = "mcuboot";
|
|
|
|
reg = <0x00000000 0x00030000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Reserve 1856kB for the application in slot 0 */
|
|
|
|
slot0_partition: partition@10000 {
|
|
|
|
label = "image-0";
|
|
|
|
reg = <0x00030000 0x001D0000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Reserve 1856kB for the application in slot 1 */
|
|
|
|
slot1_partition: partition@1F0000 {
|
|
|
|
label = "image-1";
|
|
|
|
reg = <0x00200000 0x001D0000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Reserve 192kB for the scratch partition */
|
|
|
|
scratch_partition: partition@3D0000 {
|
|
|
|
label = "image-scratch";
|
|
|
|
reg = <0x003D0000 0x00030000>;
|
|
|
|
};
|
2018-11-06 13:06:17 +08:00
|
|
|
};
|
|
|
|
};
|