1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 /* 2 /* 3 * Device Tree Source for the KZM9D board 3 * Device Tree Source for the KZM9D board 4 * 4 * 5 * Copyright (C) 2013 Renesas Solutions Corp. 5 * Copyright (C) 2013 Renesas Solutions Corp. 6 */ 6 */ 7 /dts-v1/; 7 /dts-v1/; 8 8 9 #include "emev2.dtsi" 9 #include "emev2.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/interrupt-controller/irq 12 #include <dt-bindings/interrupt-controller/irq.h> 13 13 14 / { 14 / { 15 model = "EMEV2 KZM9D Board"; 15 model = "EMEV2 KZM9D Board"; 16 compatible = "renesas,kzm9d", "renesas 16 compatible = "renesas,kzm9d", "renesas,emev2"; 17 17 18 memory@40000000 { 18 memory@40000000 { 19 device_type = "memory"; 19 device_type = "memory"; 20 reg = <0x40000000 0x8000000>; 20 reg = <0x40000000 0x8000000>; 21 }; 21 }; 22 22 23 aliases { 23 aliases { 24 serial1 = &uart1; 24 serial1 = &uart1; 25 }; 25 }; 26 26 27 chosen { 27 chosen { 28 bootargs = "ignore_loglevel rw 28 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on"; 29 stdout-path = "serial1:115200n 29 stdout-path = "serial1:115200n8"; 30 }; 30 }; 31 31 32 gpio_keys { 32 gpio_keys { 33 compatible = "gpio-keys"; 33 compatible = "gpio-keys"; 34 one { 34 one { 35 debounce-interval = <5 35 debounce-interval = <50>; 36 wakeup-source; 36 wakeup-source; 37 label = "DSW2-1"; 37 label = "DSW2-1"; 38 linux,code = <KEY_1>; 38 linux,code = <KEY_1>; 39 gpios = <&gpio0 14 GPI 39 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; 40 }; 40 }; 41 two { 41 two { 42 debounce-interval = <5 42 debounce-interval = <50>; 43 wakeup-source; 43 wakeup-source; 44 label = "DSW2-2"; 44 label = "DSW2-2"; 45 linux,code = <KEY_2>; 45 linux,code = <KEY_2>; 46 gpios = <&gpio0 15 GPI 46 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; 47 }; 47 }; 48 three { 48 three { 49 debounce-interval = <5 49 debounce-interval = <50>; 50 wakeup-source; 50 wakeup-source; 51 label = "DSW2-3"; 51 label = "DSW2-3"; 52 linux,code = <KEY_3>; 52 linux,code = <KEY_3>; 53 gpios = <&gpio0 16 GPI 53 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; 54 }; 54 }; 55 four { 55 four { 56 debounce-interval = <5 56 debounce-interval = <50>; 57 wakeup-source; 57 wakeup-source; 58 label = "DSW2-4"; 58 label = "DSW2-4"; 59 linux,code = <KEY_4>; 59 linux,code = <KEY_4>; 60 gpios = <&gpio0 17 GPI 60 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>; 61 }; 61 }; 62 }; 62 }; 63 63 64 reg_1p8v: regulator-1p8v { 64 reg_1p8v: regulator-1p8v { 65 compatible = "regulator-fixed" 65 compatible = "regulator-fixed"; 66 regulator-name = "fixed-1.8V"; 66 regulator-name = "fixed-1.8V"; 67 regulator-min-microvolt = <180 67 regulator-min-microvolt = <1800000>; 68 regulator-max-microvolt = <180 68 regulator-max-microvolt = <1800000>; 69 regulator-always-on; 69 regulator-always-on; 70 regulator-boot-on; 70 regulator-boot-on; 71 }; 71 }; 72 72 73 reg_3p3v: regulator-3p3v { 73 reg_3p3v: regulator-3p3v { 74 compatible = "regulator-fixed" 74 compatible = "regulator-fixed"; 75 regulator-name = "fixed-3.3V"; 75 regulator-name = "fixed-3.3V"; 76 regulator-min-microvolt = <330 76 regulator-min-microvolt = <3300000>; 77 regulator-max-microvolt = <330 77 regulator-max-microvolt = <3300000>; 78 regulator-always-on; 78 regulator-always-on; 79 regulator-boot-on; 79 regulator-boot-on; 80 }; 80 }; 81 81 82 ethernet@20000000 { 82 ethernet@20000000 { 83 compatible = "smsc,lan9221", " 83 compatible = "smsc,lan9221", "smsc,lan9115"; 84 reg = <0x20000000 0x10000>; 84 reg = <0x20000000 0x10000>; 85 phy-mode = "mii"; 85 phy-mode = "mii"; 86 interrupt-parent = <&gpio0>; 86 interrupt-parent = <&gpio0>; 87 interrupts = <1 IRQ_TYPE_EDGE_ 87 interrupts = <1 IRQ_TYPE_EDGE_RISING>; 88 reg-io-width = <4>; 88 reg-io-width = <4>; 89 smsc,irq-active-high; 89 smsc,irq-active-high; 90 smsc,irq-push-pull; 90 smsc,irq-push-pull; 91 vddvario-supply = <®_1p8v>; 91 vddvario-supply = <®_1p8v>; 92 vdd33a-supply = <®_3p3v>; 92 vdd33a-supply = <®_3p3v>; 93 }; 93 }; 94 }; 94 }; 95 95 96 &iic0 { 96 &iic0 { 97 status = "okay"; 97 status = "okay"; 98 }; 98 }; 99 99 100 &iic1 { 100 &iic1 { 101 status = "okay"; 101 status = "okay"; 102 }; 102 }; 103 103 104 &pfc { 104 &pfc { 105 uart1_pins: uart1 { 105 uart1_pins: uart1 { 106 groups = "uart1_ctrl", "uart1_ 106 groups = "uart1_ctrl", "uart1_data"; 107 function = "uart1"; 107 function = "uart1"; 108 }; 108 }; 109 }; 109 }; 110 110 111 &uart1 { 111 &uart1 { 112 pinctrl-0 = <&uart1_pins>; 112 pinctrl-0 = <&uart1_pins>; 113 pinctrl-names = "default"; 113 pinctrl-names = "default"; 114 status = "okay"; 114 status = "okay"; 115 }; 115 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.