Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | /dts-v1/; #include <nxp/nxp_k6x.dtsi> / { model = "Hexiwear K64 board"; compatible = "nxp,hexiwear", "nxp,k64f", "nxp,k6x"; aliases { adc_0 = &adc0; adc_1 = &adc1; pwm_0 = &pwm0; pwm_1 = &pwm1; pwm_2 = &pwm2; pwm_3 = &pwm3; uart_0 = &uart0; uart_4 = &uart4; pinmux_a = &pinmux_a; pinmux_b = &pinmux_b; pinmux_c = &pinmux_c; pinmux_d = &pinmux_d; pinmux_e = &pinmux_e; gpio_a = &gpioa; gpio_b = &gpiob; gpio_c = &gpioc; gpio_d = &gpiod; gpio_e = &gpioe; i2c_0 = &i2c0; i2c_1 = &i2c1; i2c_2 = &i2c2; }; chosen { zephyr,sram = &sram0; zephyr,flash = &flash0; zephyr,console = &uart0; #ifdef CONFIG_BT zephyr,bt-uart = &uart4; #endif }; }; &adc0 { status = "ok"; }; &adc1 { status = "ok"; }; &pwm3 { status = "ok"; }; &i2c0 { status = "ok"; }; &i2c1 { status = "ok"; }; &uart0 { status = "ok"; current-speed = <115200>; }; #ifdef CONFIG_BT &uart4 { status = "ok"; current-speed = <115200>; }; #endif &flash0 { /* * If chosen's zephyr,code-partition * is unset, the image will be linked * into the entire flash device. If * it points to an individual * partition, the code will be linked * to, and restricted to that * partition. */ partitions { compatible = "fixed-partitions"; #address-cells = <1>; #size-cells = <1>; boot_partition: partition@0 { label = "mcuboot"; reg = <0x00000000 0x00010000>; read-only; }; /* * The flash starting at 0x00010000 and ending at * 0x0001ffff (sectors 16-31) is reserved for use * by the application. */ slot0_partition: partition@20000 { label = "image-0"; reg = <0x00020000 0x00060000>; }; slot1_partition: partition@80000 { label = "image-1"; reg = <0x00080000 0x00060000>; }; scratch_partition: partition@e0000 { label = "image-scratch"; reg = <0x000e0000 0x00020000>; }; }; }; |