Stefan Agner | e1bf86a | 2014-11-02 21:36:47 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2014 Toradex AG |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License as published by |
| 6 | * the Free Software Foundation; either version 2 of the License, or |
| 7 | * (at your option) any later version. |
| 8 | */ |
| 9 | |
| 10 | / { |
| 11 | chosen { |
| 12 | bootargs = "console=ttyLP0,115200"; |
| 13 | }; |
Stefan Agner | 505251e | 2014-11-16 19:00:28 +0100 | [diff] [blame] | 14 | |
| 15 | regulators { |
| 16 | compatible = "simple-bus"; |
| 17 | #address-cells = <1>; |
| 18 | #size-cells = <0>; |
| 19 | |
| 20 | sys_5v0_reg: regulator@0 { |
| 21 | compatible = "regulator-fixed"; |
| 22 | reg = <0>; |
| 23 | regulator-name = "5v0"; |
| 24 | regulator-min-microvolt = <5000000>; |
| 25 | regulator-max-microvolt = <5000000>; |
| 26 | regulator-always-on; |
| 27 | }; |
| 28 | |
| 29 | /* USBH_PEN */ |
| 30 | usbh_vbus_reg: regulator@1 { |
| 31 | compatible = "regulator-fixed"; |
| 32 | pinctrl-names = "default"; |
| 33 | pinctrl-0 = <&pinctrl_usbh1_reg>; |
| 34 | reg = <1>; |
| 35 | regulator-name = "usbh_vbus"; |
| 36 | regulator-min-microvolt = <5000000>; |
| 37 | regulator-max-microvolt = <5000000>; |
| 38 | gpio = <&gpio3 19 GPIO_ACTIVE_LOW>; |
| 39 | vin-supply = <&sys_5v0_reg>; |
| 40 | }; |
| 41 | }; |
Stefan Agner | e1bf86a | 2014-11-02 21:36:47 +0100 | [diff] [blame] | 42 | }; |
| 43 | |
| 44 | &bl { |
| 45 | brightness-levels = <0 4 8 16 32 64 128 255>; |
| 46 | default-brightness-level = <6>; |
| 47 | status = "okay"; |
| 48 | }; |
| 49 | |
| 50 | &esdhc1 { |
| 51 | pinctrl-names = "default"; |
| 52 | pinctrl-0 = <&pinctrl_esdhc1>; |
| 53 | bus-width = <4>; |
| 54 | status = "okay"; |
| 55 | }; |
| 56 | |
| 57 | &fec1 { |
| 58 | phy-mode = "rmii"; |
| 59 | pinctrl-names = "default"; |
| 60 | pinctrl-0 = <&pinctrl_fec1>; |
| 61 | status = "okay"; |
| 62 | }; |
| 63 | |
Bhuvanchandra DV | 1ddeb48 | 2014-11-13 10:05:31 +0530 | [diff] [blame] | 64 | &i2c0 { |
| 65 | status = "okay"; |
Bhuvanchandra DV | 2149b95 | 2014-11-13 10:05:32 +0530 | [diff] [blame] | 66 | |
| 67 | /* M41T0M6 real time clock on carrier board */ |
| 68 | rtc: m41t0m6@68 { |
| 69 | compatible = "st,m41t00"; |
| 70 | reg = <0x68>; |
| 71 | }; |
Bhuvanchandra DV | 1ddeb48 | 2014-11-13 10:05:31 +0530 | [diff] [blame] | 72 | }; |
| 73 | |
Stefan Agner | e1bf86a | 2014-11-02 21:36:47 +0100 | [diff] [blame] | 74 | &pwm0 { |
| 75 | status = "okay"; |
| 76 | }; |
| 77 | |
| 78 | &pwm1 { |
| 79 | status = "okay"; |
| 80 | }; |
| 81 | |
| 82 | &uart0 { |
| 83 | status = "okay"; |
| 84 | }; |
| 85 | |
| 86 | &uart1 { |
| 87 | status = "okay"; |
| 88 | }; |
| 89 | |
| 90 | &uart2 { |
| 91 | status = "okay"; |
Bhuvanchandra DV | 1ddeb48 | 2014-11-13 10:05:31 +0530 | [diff] [blame] | 92 | }; |
Stefan Agner | 505251e | 2014-11-16 19:00:28 +0100 | [diff] [blame] | 93 | |
| 94 | &usbh1 { |
| 95 | vbus-supply = <&usbh_vbus_reg>; |
| 96 | }; |