1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * at91sam9x5cm.dtsi - Device Tree Include file for AT91SAM9x5 CPU Module 4f126890aSEmmanuel Vadot * 5f126890aSEmmanuel Vadot * Copyright (C) 2012 Atmel, 6f126890aSEmmanuel Vadot * 2012 Nicolas Ferre <nicolas.ferre@atmel.com> 7f126890aSEmmanuel Vadot */ 8f126890aSEmmanuel Vadot 9f126890aSEmmanuel Vadot/ { 10f126890aSEmmanuel Vadot memory@20000000 { 11f126890aSEmmanuel Vadot reg = <0x20000000 0x8000000>; 12f126890aSEmmanuel Vadot }; 13f126890aSEmmanuel Vadot 14f126890aSEmmanuel Vadot clocks { 15f126890aSEmmanuel Vadot slow_xtal { 16f126890aSEmmanuel Vadot clock-frequency = <32768>; 17f126890aSEmmanuel Vadot }; 18f126890aSEmmanuel Vadot 19f126890aSEmmanuel Vadot main_xtal { 20f126890aSEmmanuel Vadot clock-frequency = <12000000>; 21f126890aSEmmanuel Vadot }; 22f126890aSEmmanuel Vadot }; 23f126890aSEmmanuel Vadot 24f126890aSEmmanuel Vadot ahb { 25f126890aSEmmanuel Vadot apb { 26f126890aSEmmanuel Vadot tcb0: timer@f8008000 { 27f126890aSEmmanuel Vadot timer@0 { 28f126890aSEmmanuel Vadot compatible = "atmel,tcb-timer"; 29f126890aSEmmanuel Vadot reg = <0>; 30f126890aSEmmanuel Vadot }; 31f126890aSEmmanuel Vadot 32f126890aSEmmanuel Vadot timer@1 { 33f126890aSEmmanuel Vadot compatible = "atmel,tcb-timer"; 34f126890aSEmmanuel Vadot reg = <1>; 35f126890aSEmmanuel Vadot }; 36f126890aSEmmanuel Vadot }; 37f126890aSEmmanuel Vadot 38f126890aSEmmanuel Vadot pinctrl@fffff400 { 39f126890aSEmmanuel Vadot 1wire_cm { 40f126890aSEmmanuel Vadot pinctrl_1wire_cm: 1wire_cm-0 { 41f126890aSEmmanuel Vadot atmel,pins = <AT91_PIOB 18 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB18 multidrive, conflicts with led */ 42f126890aSEmmanuel Vadot }; 43f126890aSEmmanuel Vadot }; 44f126890aSEmmanuel Vadot }; 45f126890aSEmmanuel Vadot 46f126890aSEmmanuel Vadot rtc@fffffeb0 { 47f126890aSEmmanuel Vadot status = "okay"; 48f126890aSEmmanuel Vadot }; 49f126890aSEmmanuel Vadot }; 50f126890aSEmmanuel Vadot 51f126890aSEmmanuel Vadot ebi: ebi@10000000 { 52f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ebi_addr_nand 53f126890aSEmmanuel Vadot &pinctrl_ebi_data_0_7>; 54f126890aSEmmanuel Vadot pinctrl-names = "default"; 55f126890aSEmmanuel Vadot status = "okay"; 56f126890aSEmmanuel Vadot 57f126890aSEmmanuel Vadot nand_controller: nand-controller { 58f126890aSEmmanuel Vadot status = "okay"; 59f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_nand_oe_we 60f126890aSEmmanuel Vadot &pinctrl_nand_cs 61f126890aSEmmanuel Vadot &pinctrl_nand_rb>; 62f126890aSEmmanuel Vadot pinctrl-names = "default"; 63f126890aSEmmanuel Vadot 64f126890aSEmmanuel Vadot nand@3 { 65f126890aSEmmanuel Vadot reg = <0x3 0x0 0x800000>; 66f126890aSEmmanuel Vadot rb-gpios = <&pioD 5 GPIO_ACTIVE_HIGH>; 67f126890aSEmmanuel Vadot cs-gpios = <&pioD 4 GPIO_ACTIVE_HIGH>; 68f126890aSEmmanuel Vadot nand-bus-width = <8>; 69f126890aSEmmanuel Vadot nand-ecc-mode = "hw"; 70f126890aSEmmanuel Vadot nand-ecc-strength = <2>; 71f126890aSEmmanuel Vadot nand-ecc-step-size = <512>; 72f126890aSEmmanuel Vadot nand-on-flash-bbt; 73f126890aSEmmanuel Vadot label = "atmel_nand"; 74f126890aSEmmanuel Vadot 75f126890aSEmmanuel Vadot partitions { 76f126890aSEmmanuel Vadot compatible = "fixed-partitions"; 77f126890aSEmmanuel Vadot #address-cells = <1>; 78f126890aSEmmanuel Vadot #size-cells = <1>; 79f126890aSEmmanuel Vadot 80f126890aSEmmanuel Vadot at91bootstrap@0 { 81f126890aSEmmanuel Vadot label = "at91bootstrap"; 82f126890aSEmmanuel Vadot reg = <0x0 0x40000>; 83f126890aSEmmanuel Vadot }; 84f126890aSEmmanuel Vadot 85f126890aSEmmanuel Vadot uboot@40000 { 86f126890aSEmmanuel Vadot label = "u-boot"; 87f126890aSEmmanuel Vadot reg = <0x40000 0xc0000>; 88f126890aSEmmanuel Vadot }; 89f126890aSEmmanuel Vadot 90f126890aSEmmanuel Vadot ubootenvred@100000 { 91f126890aSEmmanuel Vadot label = "U-Boot Env Redundant"; 92f126890aSEmmanuel Vadot reg = <0x100000 0x40000>; 93f126890aSEmmanuel Vadot }; 94f126890aSEmmanuel Vadot 95f126890aSEmmanuel Vadot ubootenv@140000 { 96f126890aSEmmanuel Vadot label = "U-Boot Env"; 97f126890aSEmmanuel Vadot reg = <0x140000 0x40000>; 98f126890aSEmmanuel Vadot }; 99f126890aSEmmanuel Vadot 100f126890aSEmmanuel Vadot dtb@180000 { 101f126890aSEmmanuel Vadot label = "device tree"; 102f126890aSEmmanuel Vadot reg = <0x180000 0x80000>; 103f126890aSEmmanuel Vadot }; 104f126890aSEmmanuel Vadot 105f126890aSEmmanuel Vadot kernel@200000 { 106f126890aSEmmanuel Vadot label = "kernel"; 107f126890aSEmmanuel Vadot reg = <0x200000 0x600000>; 108f126890aSEmmanuel Vadot }; 109f126890aSEmmanuel Vadot 110f126890aSEmmanuel Vadot rootfs@800000 { 111f126890aSEmmanuel Vadot label = "rootfs"; 112f126890aSEmmanuel Vadot reg = <0x800000 0x0f800000>; 113f126890aSEmmanuel Vadot }; 114f126890aSEmmanuel Vadot }; 115f126890aSEmmanuel Vadot }; 116f126890aSEmmanuel Vadot }; 117f126890aSEmmanuel Vadot }; 118f126890aSEmmanuel Vadot }; 119f126890aSEmmanuel Vadot 120f126890aSEmmanuel Vadot leds { 121f126890aSEmmanuel Vadot compatible = "gpio-leds"; 122f126890aSEmmanuel Vadot 123*b2d2a78aSEmmanuel Vadot led-pb18 { 124f126890aSEmmanuel Vadot label = "pb18"; 125f126890aSEmmanuel Vadot gpios = <&pioB 18 GPIO_ACTIVE_LOW>; 126f126890aSEmmanuel Vadot linux,default-trigger = "heartbeat"; 127f126890aSEmmanuel Vadot }; 128f126890aSEmmanuel Vadot 129*b2d2a78aSEmmanuel Vadot led-pd21 { 130f126890aSEmmanuel Vadot label = "pd21"; 131f126890aSEmmanuel Vadot gpios = <&pioD 21 GPIO_ACTIVE_HIGH>; 132f126890aSEmmanuel Vadot }; 133f126890aSEmmanuel Vadot }; 134f126890aSEmmanuel Vadot 135f126890aSEmmanuel Vadot 1wire_cm { 136f126890aSEmmanuel Vadot compatible = "w1-gpio"; 137f126890aSEmmanuel Vadot gpios = <&pioB 18 GPIO_ACTIVE_HIGH>; 138f126890aSEmmanuel Vadot linux,open-drain; 139f126890aSEmmanuel Vadot pinctrl-names = "default"; 140f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_1wire_cm>; 141f126890aSEmmanuel Vadot status = "okay"; 142f126890aSEmmanuel Vadot }; 143f126890aSEmmanuel Vadot 144f126890aSEmmanuel Vadot}; 145